Changeset 1908
- Timestamp:
- 10/27/08 15:08:05 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/test/php/net/stubbles/lang/types/stubTimeZoneTestCase.php
r1868 r1908 68 68 69 69 /** 70 * offset in seconds for current date is 0 seconds or 7200 seconds, depending70 * offset in seconds for current date is 3600 seconds or 7200 seconds, depending 71 71 * whether we are in dst or not 72 72 * 73 73 * @test 74 74 */ 75 public function offsetForCurrentDateIs 0SecondsOr7200SecondsDependingWhetherInDstOrNot()75 public function offsetForCurrentDateIs3600SecondsOr7200SecondsDependingWhetherInDstOrNot() 76 76 { 77 77 $offset = $this->timeZone->getOffsetInSeconds(); 78 $this->assertTrue(( 0 === $offset || 7200 === $offset));78 $this->assertTrue((3600 === $offset || 7200 === $offset)); 79 79 } 80 80
