Home
last modified time | relevance | path

Searched refs:DateTimeZone (Results 26 – 50 of 82) sorted by relevance

1234

/PHP-5.4/ext/date/tests/
H A DDateTimeZone_extends_basic1.phpt2 Test DateTimeZone class inheritance
9 echo "*** Testing basic DateTimeZone inheritance() ***\n";
11 class DateTimeZoneExt extends DateTimeZone
28 *** Testing basic DateTimeZone inheritance() ***
H A DDateTimeZone_listAbbreviations_basic1.phpt2 Test DateTimeZone::listAbbreviations() function : basic functionality
5 /* Prototype : array DateTimeZone::listAbbreviations ( void )
11 echo "*** Testing DateTimeZone::listAbbreviations() : basic functionality ***\n";
16 $abbr = DateTimeZone::listAbbreviations();
27 *** Testing DateTimeZone::listAbbreviations() : basic functionality ***
H A DDateTimeZone_clone_basic4.phpt2 Test clone of DateTimeZone derived objects with __clone magic method
8 class DateTimeZoneExt1 extends DateTimeZone {
14 echo "*** Testing clone of objects derived from DateTimeZone class with __clone magic method***\n";
25 *** Testing clone of objects derived from DateTimeZone class with __clone magic method***
H A Dbug43003.phpt7 $oDateTest = new DateTime("@0", new DateTimeZone(date_default_timezone_get()));
10 $oDateTest->setTimezone(new DateTimeZone("UTC"));
13 $oDateTest->setTimezone(new DateTimeZone(date_default_timezone_get()));
19 $oDateTest->setTimezone( new DateTimeZone(date_default_timezone_get()));
H A DDateTimeZone_clone_basic2.phpt2 Testing clone on objects whoose class derived from DateTimeZone class
8 class DateTimeZoneExt1 extends DateTimeZone {
18 echo "*** Testing clone on objects whoose class derived from DateTimeZone class ***\n";
33 *** Testing clone on objects whoose class derived from DateTimeZone class ***
H A DDateTime_data-fall-type3-type2.inc35 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
41 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
88 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
94 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
100 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
106 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
112 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
118 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
124 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
130 $start->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
[all …]
H A Dtimezone_transitions_get_error.phpt5 /* Prototype : array timezone_transitions_get ( DateTimeZone $object, [ int $timestamp_begin [, …
8 * Alias to functions: DateTimeZone::getTransitions()
50 Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, object given in %s on l…
53 Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, integer given in %s on …
56 Warning: timezone_transitions_get() expects parameter 1 to be DateTimeZone, null given in %s on lin…
H A Dbug40743.phpt5 $dt = new DateTime('@1200506699', new DateTimeZone('Europe/Berlin'));
19 $dt->setTimezone( new DateTimeZone( 'America/New_York' ) );
22 $dt = new DateTime('@1200506699', new DateTimeZone('Europe/Berlin'));
28 $dt = new DateTime('16 Jan 08 13:04:59 America/Chicago', new DateTimeZone('Europe/Berlin'));
H A DDateTime_data-fall-type2-type3.inc35 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
41 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
67 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
73 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
99 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
105 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
131 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
137 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
163 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
169 $end->setTimezone(new DateTimeZone('America/New_York')); // zt2 -> zt3
[all …]
H A Dtimezone_name_get_error.phpt8 * Alias to functions: DateTimeZone::getName()
48 Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d
51 Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, integer given in %s on line %d
54 Warning: timezone_name_get() expects parameter 1 to be DateTimeZone, null given in %s on line %d
H A Dtimezone_transitions_get_basic1.phpt5 /* Prototype : array timezone_transitions_get ( DateTimeZone $object, [ int $timestamp_begin [, …
8 * Alias to functions: DateTimeZone::getTransitions()
16 // Create a DateTimeZone object
H A Dbug62561.phpt5 $tz = new DateTimeZone('America/New_York');
8 $dayFromTs = new DateTime('@1341115200', new DateTimeZone('America/New_York'));
H A D014.phpt29 object(DateTimeZone)#%d (0) {
36 Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d
H A Dtimezone_offset_get_error.phpt5 /* Prototype : int timezone_offset_get ( DateTimeZone $object , DateTime $datetime )
8 * Alias to functions: DateTimeZone::getOffset
65 Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d
68 Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, integer given in %s on line …
71 Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, null given in %s on line %d
H A DDateTime_extends_basic2.phpt13 public function __construct ($date = null, DateTimeZone $dtz = null)
17 $dtz = new DateTimeZone(date_default_timezone_get());
H A DDateTime_getTimeZone_basic1.phpt5 /* Prototype : public DateTimeZone DateTime::getTimezone ( void )
22 $la_time = new DateTimeZone("America/Los_Angeles");
H A Dtimezone_offset_get_basic1.phpt5 /* Prototype : int timezone_offset_get ( DateTimeZone $object , DateTime $datetime )
8 * Alias to functions: DateTimeZone::getOffset
H A Dbug48476.phpt8 class MyDateTimeZone extends DateTimeZone {
30 Warning: timezone_location_get(): The DateTimeZone object has not been correctly initialized by its…
H A Dtimezone_open_error.phpt5 /* Prototype : DateTimeZone timezone_open ( string $timezone )
6 * Description: Returns new DateTimeZone object
H A DDateTime_construct_error.phpt5 /* Prototype : DateTime::__construct ([ string $time="now" [, DateTimeZone $timezone=NULL ]] )
30 #0 %s(%d): DateTime->__construct('GMT', Object(DateTimeZone), 99)
H A Dtimezone_location_get.phpt10 $location = timezone_location_get(new DateTimeZone("Europe/Oslo"));
H A D015.phpt9 $dto->setTimezone(new DateTimeZone('US/Eastern'));
H A Dbug54597.phpt7 $tz = new DateTimeZone("Europe/Amsterdam");
H A Dbug45529.phpt6 $tz1 = new DateTimeZone('UTC');
H A Dbug48058.phpt8 $tz = new DateTimeZone("Europe/London");

Completed in 30 milliseconds

1234