Home
last modified time | relevance | path

Searched refs:DateTimeZone (Results 1 – 25 of 161) sorted by last modified time

1234567

/php-src/ext/intl/dateformat/
H A Ddateformat.stub.php35 * @param IntlTimeZone|DateTimeZone|string|null $timezone
48 * @param IntlTimeZone|DateTimeZone|string|null $timezone
104 * @param IntlTimeZone|DateTimeZone|string|null $timezone
/php-src/Zend/tests/
H A Ddeprecation_to_exception_during_inheritance.phpt20 …tTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #…
/php-src/ext/intl/
H A Dphp_intl.stub.php176 /** @param IntlTimeZone|DateTimeZone|string|null $timezone */
197 /** @param IntlTimeZone|DateTimeZone|string|null $timezone */
275 * @param DateTimeZone|IntlTimeZone|string|int|null $timezoneOrYear
331 /** @param IntlTimeZone|DateTimeZone|string|null $timezone */
355 /** @param IntlTimeZone|DateTimeZone|string|null $timezone */
575 function intltz_from_date_time_zone(DateTimeZone $timezone): ?IntlTimeZone {}
616 function intltz_to_date_time_zone(IntlTimeZone $timezone): DateTimeZone|false {}
H A Dphp_intl_arginfo.h680 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
753 ZEND_BEGIN_ARG_WITH_RETURN_OBJ_TYPE_MASK_EX(arginfo_intltz_to_date_time_zone, 0, 1, DateTimeZone, M…
/php-src/ext/date/
H A Dphp_date.c4060 PHP_METHOD(DateTimeZone, __construct) in PHP_METHOD() argument
4105 PHP_METHOD(DateTimeZone, __set_state) in PHP_METHOD() argument
4126 PHP_METHOD(DateTimeZone, __wakeup) in PHP_METHOD() argument
4145 PHP_METHOD(DateTimeZone, __serialize) in PHP_METHOD() argument
4189 PHP_METHOD(DateTimeZone, __unserialize) in PHP_METHOD() argument
H A Dphp_date.stub.php190 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
212 function timezone_open(string $timezone): DateTimeZone|false {}
215 function timezone_name_get(DateTimeZone $object): string {}
233 function timezone_location_get(DateTimeZone $object): array|false {}
320 public function getTimezone(): DateTimeZone|false;
403 public function getTimezone(): DateTimeZone|false {}
409 public function setTimezone(DateTimeZone $timezone): DateTime {}
498 public function getTimezone(): DateTimeZone|false {}
533 public function setTimezone(DateTimeZone $timezone): DateTimeImmutable {}
556 class DateTimeZone class
[all …]
H A Dphp_date_arginfo.h114 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
161 ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
171 ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
176 ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
182 ZEND_ARG_OBJ_INFO(0, object, DateTimeZone, 0)
307 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
596 ZEND_METHOD(DateTimeZone, __construct);
597 ZEND_METHOD(DateTimeZone, __serialize);
598 ZEND_METHOD(DateTimeZone, __unserialize);
599 ZEND_METHOD(DateTimeZone, __wakeup);
[all …]
/php-src/ext/intl/calendar/
H A Dcalendar.stub.php93 * @param IntlTimeZone|DateTimeZone|string|null $timezone
358 * @param IntlTimeZone|DateTimeZone|string|null $timezone
379 * @param DateTimeZone|IntlTimeZone|string|int|null $timezoneOrYear
/php-src/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 Dbug55407.phpt9 …public static function createFromFormat($format, $time, ?\DateTimeZone $timezone = null): DateTime…
H A Dbug80963.phpt2 Bug #80963: DateTimeZone::getTransitions() truncated
11 $tz = new DateTimeZone($tzid);
H A Dgh11455.phpt8 ?DateTimeZone $timezone = null,
H A Dbug81097.phpt2 Bug #81097 (DateTimeZone silently falls back to UTC when providing an offset with seconds)
9 object(DateTimeZone)#%d (%d) {
H A Dgh11281.phpt2 GH-11281 (DateTimeZone::getName() does not include seconds in offset)
5 $tz = new DateTimeZone('+03:00');
7 $tz = new DateTimeZone('+03:00:00');
9 $tz = new DateTimeZone('-03:00:00');
11 $tz = new DateTimeZone('+03:00:01');
13 $tz = new DateTimeZone('-03:00:01');
15 $tz = new DateTimeZone('+03:00:58');
17 $tz = new DateTimeZone('-03:00:58');
19 $tz = new DateTimeZone('+03:00:59');
21 $tz = new DateTimeZone('-03:00:59');
H A Drfc-datetime_and_daylight_saving_time-type3-bd2.phpt18 $tz = new DateTimeZone('America/New_York');
H A Dgh10747-2.phpt2 Bug GH-10747 (Private fields in serialized DateTimeZone objects throw)
5 class I extends DateTimeZone
H A Dgh10152.phpt9 ?DateTimeZone $timezone = null,
H A Ddate_period_unserialize2.phpt6 $start = new DateTime("2022-07-14 00:00:00", new DateTimeZone("UTC"));
8 $end = new DateTime("2022-07-16 00:00:00", new DateTimeZone("UTC"));
H A Ddate_period_unserialize3.phpt6 $start = new DateTime("2022-07-14 00:00:00", new DateTimeZone("UTC"));
8 $end = new DateTime("2022-07-16 00:00:00", new DateTimeZone("UTC"));
H A Doo_001.phpt10 class _t extends DateTimeZone {
35 $t = new DateTimeZone("UTC");
46 new DateTimeZone("GottaFindThisOne");
70 DateObjectError: Object of type _t (inheriting DateTimeZone) has not been correctly initialized by …
71 DateInvalidTimeZoneException: DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOn…
H A Dtimezone_identifiers_list_wrong_constructor.phpt2 timezone_identifiers_list: ValueError when timezoneGroup is DateTimeZone::PER_COUNTRY
11 var_dump(timezone_identifiers_list(DateTimeZone::PER_COUNTRY));
16 var_dump(timezone_identifiers_list(DateTimeZone::PER_COUNTRY, 'A'));
23 …r ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY
24 …r ISO 3166-1 compatible country code when argument #1 ($timezoneGroup) is DateTimeZone::PER_COUNTRY
/php-src/Zend/tests/type_declarations/variance/internal_parent/
H A Dunresolvable_inheritance_check_param.phpt12 …lse and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
/php-src/ext/session/tests/
H A Dgh13680.phpt25 …ong and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
/php-src/ext/intl/timezone/
H A Dtimezone_arginfo.h29 ZEND_ARG_OBJ_INFO(0, timezone, DateTimeZone, 0)
101 …ETURN_OBJ_TYPE_MASK_EX(arginfo_class_IntlTimeZone_toDateTimeZone, 0, 0, DateTimeZone, MAY_BE_FALSE)
H A Dtimezone.stub.php70 public static function fromDateTimeZone(DateTimeZone $timezone): ?IntlTimeZone {}
183 public function toDateTimeZone(): DateTimeZone|false {}

Completed in 59 milliseconds

1234567