Home
last modified time | relevance | path

Searched refs:IntlTimeZone (Results 1 – 25 of 81) sorted by relevance

1234

/PHP-8.1/ext/intl/tests/
H A Dtimezone_createTimeZoneIDEnumeration_variant2.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without region
8 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
9 IntlTimeZone::TYPE_ANY);
11 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
12 IntlTimeZone::TYPE_CANONICAL);
14 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
15 IntlTimeZone::TYPE_CANONICAL_LOCATION);
21 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
22 IntlTimeZone::TYPE_ANY, null, null);
26 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
[all …]
H A Dtimezone_getDisplayName_variant2-49+.phpt2 IntlTimeZone::getDisplayName(): type parameter (ICU >= 49 && ICU < 50.1.2)
13 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT));
17 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG));
18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC));
19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC));
20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT));
21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT));
22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED));
23 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
H A Dtimezone_getDisplayName_variant4.phpt2 IntlTimeZone::getDisplayName(): type parameter (ICU >= 51.2)
13 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT));
17 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG));
18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC));
19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC));
20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT));
21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT));
22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED));
23 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
H A Dtimezone_clone_basic.phpt2 IntlTimeZone clone handler: basic test
9 $tz1 = IntlTimeZone::createTimeZone('Europe/Amsterdam');
14 $gmt = IntlTimeZone::getGMT();
20 IntlTimeZone Object
27 IntlTimeZone Object
34 IntlTimeZone Object
41 IntlTimeZone Object
H A Dtimezone_createTimeZoneIDEnumeration_variant1.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without offset
8 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
9 IntlTimeZone::TYPE_ANY,
15 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
16 IntlTimeZone::TYPE_ANY,
H A Dtimezone_getRegion_error.phpt2 IntlTimeZone::getRegion(): errors
9 var_dump(IntlTimeZone::getRegion("foo\x81"));
10 var_dump(IntlTimeZone::getRegion("foo"));
13 Warning: IntlTimeZone::getRegion(): intltz_get_region: could not convert time zone id to UTF-16 in …
16 Warning: IntlTimeZone::getRegion(): intltz_get_region: Error obtaining region in %s on line %d
H A Dtimezone_getGMT_basic.phpt2 IntlTimeZone::getGMT(): basic test
8 $tz = IntlTimeZone::getGMT();
14 IntlTimeZone Object
21 IntlTimeZone Object
H A Dtimezone_createTimeZoneIDEnumeration_basic.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): basic test
8 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
9 IntlTimeZone::TYPE_ANY,
15 IntlTimeZone::TYPE_ANY,
H A Dtimezone_getDisplayName_error.phpt2 IntlTimeZone::getDisplayName(): errors
9 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
12 var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_PT'));
15 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: wrong display type in %s on line …
18 …r: intltz_get_display_name(): Argument #1 ($timezone) must be of type IntlTimeZone, null given in …
H A Dtimezone_getDisplayName_variant3-49+.phpt2 IntlTimeZone::getDisplayName(): locale parameter
13 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG));
17 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, NULL));
18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, 'pt_PT'));
H A Dtimezone_createTimeZone_basic.phpt2 IntlTimeZone::createTimeZone(): basic test
8 $tz = IntlTimeZone::createTimeZone('GMT+01:00');
14 IntlTimeZone Object
21 IntlTimeZone Object
H A Dtimezone_createDefault_basic.phpt2 IntlTimeZone::createDefault(): basic test
8 $tz = IntlTimeZone::createDefault();
14 IntlTimeZone Object
21 IntlTimeZone Object
H A Dtimezone_hasSameRules_error.phpt2 IntlTimeZone::hasSameRules(): errors
16 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
33 string(93) "IntlTimeZone::hasSameRules(): Argument #1 ($other) must be of type IntlTimeZone, string…
36 string(89) "intltz_has_same_rules(): Argument #1 ($timezone) must be of type IntlTimeZone, null giv…
H A Dtimezone_toDateTimeZone_basic.phpt2 IntlTimeZone::toDateTimeZone(): basic test
11 function do_test(IntlTimeZone $tz, $proc = false) {
20 do_test(IntlTimeZone::createTimeZone('CET'));
21 do_test(IntlTimeZone::createTimeZone('Europe/Amsterdam'));
22 do_test(IntlTimeZone::createTimeZone('GMT+0405'), true);
H A Dcalendar_createInstance_variation1.phpt22 $cal = intlcal_create_instance(IntlTimeZone::createTimeZone('Europe/Lisbon'));
39 IntlTimeZone Object
47 IntlTimeZone Object
55 IntlTimeZone Object
63 IntlTimeZone Object
71 IntlTimeZone Object
H A Dtimezone_equals_error.phpt2 IntlTimeZone equals handler: error test
9 class A extends IntlTimeZone {
28 object(IntlTimeZone)#2 (4) {
39 string(63) "Comparison with at least one unconstructed IntlTimeZone operand"
H A Dtimezone_createTimeZoneIDEnumeration_error.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): errors
9 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(-1));
12 Warning: IntlTimeZone::createTimeZoneIDEnumeration(): intltz_create_time_zone_id_enumeration: bad z…
H A Dtimezone_getCanonicalID_variant1_2.phpt2 IntlTimeZone::getCanonicalID(): second argument
11 var_dump(IntlTimeZone::getCanonicalID('Portugal', $isSystemId));
15 var_dump(IntlTimeZone::getCanonicalID('GMT +01:25', $isSystemId));
23 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: error obtaining canonical ID in %…
H A Dtimezone_createEnumeration_error.phpt2 IntlTimeZone::createEnumeration(): errors
9 var_dump(IntlTimeZone::createEnumeration(array()));
12 Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: invalid argument type in %s …
H A Dtimezone_getRawOffset_basic.phpt2 IntlTimeZone::getRawOffset(): basic test
8 $ams = IntlTimeZone::createTimeZone('Europe/Amsterdam');
11 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
H A Dtimezone_createTimeZone_error.phpt2 IntlTimeZone::createTimeZone(): errors
9 var_dump(IntlTimeZone::createTimeZone("foo\x80"));
12 Warning: IntlTimeZone::createTimeZone(): intltz_create_time_zone: could not convert time zone id to…
H A Dtimezone_toDateTimeZone_error.phpt2 IntlTimeZone::toDateTimeZone(): errors
9 $tz = IntlTimeZone::createTimeZone('Etc/Unknown');
20 Warning: IntlTimeZone::toDateTimeZone(): intltz_to_date_time_zone: DateTimeZone constructor threw e…
23 …: intltz_to_date_time_zone(): Argument #1 ($timezone) must be of type IntlTimeZone, int given in %…
H A Dtimezone_countEquivalentIDs_error.phpt2 IntlTimeZone::countEquivalentIDs(): errors
9 var_dump(IntlTimeZone::countEquivalentIDs("foo\x80"));
12 Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: could not convert time zo…
H A Dtimezone_getCanonicalID_error.phpt2 IntlTimeZone::getCanonicalID(): errors
9 var_dump(IntlTimeZone::getCanonicalID("foo\x81"));
12 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: could not convert time zone id to…
/PHP-8.1/ext/intl/timezone/
H A Dtimezone.stub.php5 class IntlTimeZone class
19 public static function createDefault(): IntlTimeZone {}
22 * @param IntlTimeZone|string|int|float|null $countryOrRawOffset
32 public static function createTimeZone(string $timezoneId): ?IntlTimeZone {}
44 public static function fromDateTimeZone(DateTimeZone $timezone): ?IntlTimeZone {}
57 …public function getDisplayName(bool $dst = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string…
87 public static function getGMT(): IntlTimeZone {}
125 public static function getUnknown(): IntlTimeZone {}
144 public function hasSameRules(IntlTimeZone $other): bool {}

Completed in 36 milliseconds

1234