Lines Matching refs:DateTimeZone
2 Test DateTimeZone::getOffset() function : error conditions
5 /* Prototype : int DateTimeZone::getOffset ( DateTime $datetime )
14 $tz = new DateTimeZone("Europe/London");
17 echo "*** Testing DateTimeZone::getOffset() : error conditions ***\n";
19 echo "\n-- Testing DateTimeZone::getOffset() function with zero arguments --\n";
22 echo "\n-- Testing DateTimeZone::getOffset() function with more than expected no. of arguments --\n…
29 *** Testing DateTimeZone::getOffset() : error conditions ***
31 -- Testing DateTimeZone::getOffset() function with zero arguments --
33 Warning: DateTimeZone::getOffset() expects exactly 1 parameter, 0 given in %s on line %d
36 -- Testing DateTimeZone::getOffset() function with more than expected no. of arguments --
38 Warning: DateTimeZone::getOffset() expects exactly 1 parameter, 2 given in %s on line %d