Home
last modified time | relevance | path

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

1234

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

Completed in 22 milliseconds

1234