Home
last modified time | relevance | path

Searched refs:DateTimeZone (Results 51 – 75 of 112) sorted by relevance

12345

/PHP-8.0/ext/intl/tests/
H A Dbug74298.phpt16 ))->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
25 )->format(new \DateTime('2017-01-01 01:02:03.123456', new \DateTimeZone('UTC'))));
H A Dmsgfmt_format_datetime.phpt18 $dt = new DateTime("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
19 $dti = new DateTimeImmutable("2012-05-06 18:00:42", new DateTimeZone("Europe/Lisbon"));
H A Dtimezone_toDateTimeZone_error.phpt22 Warning: IntlTimeZone::toDateTimeZone(): intltz_to_date_time_zone: DateTimeZone constructor threw e…
23 string(66) "DateTimeZone::__construct(): Unknown or bad timezone (Etc/Unknown)"
H A Dtimezone_fromDateTimeZone_basic.phpt13 $tz = IntlTimeZone::fromDateTimeZone(new DateTimeZone('Europe/Amsterdam'));
19 /* this is different from new DateTimeZone('CET'),
H A Ddateformat_bug65683.phpt9 …lDateFormatter('en-US', IntlDateFormatter::FULL, IntlDateFormatter::NONE, new DateTimeZone("UTC"));
H A Dtimezone_fromDateTimeZone_error.phpt17 …tltz_from_date_time_zone: time zone id 'WEST' extracted from ext/date DateTimeZone not recognized …
/PHP-8.0/ext/date/tests/
H A DDateTime_extends_basic2.phpt13 public function __construct ($date = null, DateTimeZone $dtz = null)
17 $dtz = new DateTimeZone(date_default_timezone_get());
H A Dbug48476.phpt8 class MyDateTimeZone extends DateTimeZone {
37 The DateTimeZone object has not been correctly initialized by its constructor
H A DDatePeriod_getter.phpt7 $start = new DateTime('2000-01-01 00:00:00', new DateTimeZone('Europe/Berlin'));
8 $end = new DateTime('2000-01-31 00:00:00', new DateTimeZone('UTC'));
H A Dtimezone_offset_get_error.phpt62 string(89) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, stdClass giv…
64 string(84) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, int given"
66 string(85) "timezone_offset_get(): Argument #1 ($object) must be of type DateTimeZone, null given"
H A Dbug74671.phpt7 new DateTimeZone('CEST')
H A Dbug78383.phpt7 var_dump((array) new DateTimeZone('Europe/Berlin'));
H A Dbug55407.phpt9 public static function createFromFormat($format, $time, \DateTimeZone $timezone = null) {
H A Ddate_time_immutable-inherited.phpt7 $tz = new DateTimeZone("Asia/Tokyo");
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 DDateTime_getTimeZone_basic1.phpt16 $la_time = new DateTimeZone("America/Los_Angeles");
/PHP-8.0/ext/intl/calendar/
H A Dcalendar.stub.php10 * @param IntlTimeZone|DateTimeZone|string|null $timezone
270 * @param IntlTimeZone|DateTimeZone|string|null $timezone
286 * @param DateTimeZone|IntlTimeZone|string|int|null $timezoneOrYear
/PHP-8.0/ext/intl/timezone/
H A Dtimezone.stub.php44 public static function fromDateTimeZone(DateTimeZone $timezone) {}
147 * @return DateTimeZone|false
/PHP-8.0/Zend/tests/
H A Dbug54043.phpt7 $timeZone = new DateTimeZone('UTC');
/PHP-8.0/Zend/tests/parameter_default_values/
H A Dinternal_declaration_error_null.phpt13 …le with DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
/PHP-8.0/Zend/tests/type_declarations/variance/
H A Dinternal_parent.phpt12 …ll) and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
/PHP-8.0/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_isDefaultValueAvailable_Internal.phpt14 $class = new ReflectionClass('DateTimeZone');

Completed in 29 milliseconds

12345