/php-src/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 35 * @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 D | deprecation_to_exception_during_inheritance.phpt | 20 …tTimezone() should either be compatible with DateTime::getTimezone(): DateTimeZone|false, or the #…
|
/php-src/ext/intl/ |
H A D | php_intl.stub.php | 176 /** @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 D | php_intl_arginfo.h | 680 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 D | php_date.c | 4060 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 D | php_date.stub.php | 190 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 D | php_date_arginfo.h | 114 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 D | calendar.stub.php | 93 * @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 D | DateTime_extends_basic2.phpt | 13 public function __construct ($date = null, ?DateTimeZone $dtz = null) 17 $dtz = new DateTimeZone(date_default_timezone_get());
|
H A D | bug55407.phpt | 9 …public static function createFromFormat($format, $time, ?\DateTimeZone $timezone = null): DateTime…
|
H A D | bug80963.phpt | 2 Bug #80963: DateTimeZone::getTransitions() truncated 11 $tz = new DateTimeZone($tzid);
|
H A D | gh11455.phpt | 8 ?DateTimeZone $timezone = null,
|
H A D | bug81097.phpt | 2 Bug #81097 (DateTimeZone silently falls back to UTC when providing an offset with seconds) 9 object(DateTimeZone)#%d (%d) {
|
H A D | gh11281.phpt | 2 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 D | rfc-datetime_and_daylight_saving_time-type3-bd2.phpt | 18 $tz = new DateTimeZone('America/New_York');
|
H A D | gh10747-2.phpt | 2 Bug GH-10747 (Private fields in serialized DateTimeZone objects throw) 5 class I extends DateTimeZone
|
H A D | gh10152.phpt | 9 ?DateTimeZone $timezone = null,
|
H A D | date_period_unserialize2.phpt | 6 $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 D | date_period_unserialize3.phpt | 6 $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 D | oo_001.phpt | 10 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 D | timezone_identifiers_list_wrong_constructor.phpt | 2 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 D | unresolvable_inheritance_check_param.phpt | 12 …lse and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
|
/php-src/ext/session/tests/ |
H A D | gh13680.phpt | 25 …ong and DateTime::createFromFormat(string $format, string $datetime, ?DateTimeZone $timezone = nul…
|
/php-src/ext/intl/timezone/ |
H A D | timezone_arginfo.h | 29 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 D | timezone.stub.php | 70 public static function fromDateTimeZone(DateTimeZone $timezone): ?IntlTimeZone {} 183 public function toDateTimeZone(): DateTimeZone|false {}
|