public function testTimezoneToStringOutput() { $tz = new qCal_Timezone("America/Los_Angeles", -28800, "PST"); $tz->setFormat("T P"); $this->assertEqual($tz->__toString(), "PST -08:00"); $tz->setFormat("Z"); $this->assertEqual($tz->__toString(), "-28800"); }