JDateTest::testGetOffsetFromGMT
Testing getOffsetFromGMT
Signature
public function testGetOffsetFromGMT(mixed
$tz,
string
$setTime,
boolean
$hours,
string
$expected )
Parameters
-
$tz
- Which time zone? (can be string or numeric
-
$setTime
- What time should be set?
-
$hours
- Return offset in hours (true) or seconds?
-
$expected
- What should the resulting time string look like?
Returns
- void