Home
last modified time | relevance | path

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

1234

/PHP-8.4/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_getIanaID.phpt2 IntlTimeZone::getIanaID
11 var_dump(IntlTimeZone::getIanaID("php\x81"));
12 var_dump(IntlTimeZone::getIanaID("Galaxy/Pluto"));
13 var_dump(IntlTimeZone::getIanaID('Europe/Dublin'));
14 var_dump(IntlTimeZone::getIanaID('Asia/Calcutta'));
15 var_dump(intltz_get_iana_id('Asia/Calcutta') === IntlTimeZone::getIanaID('Asia/Calcutta'));
18 Warning: IntlTimeZone::getIanaID(): could not convert time zone id to UTF-16 in %s on line %d
21 Warning: IntlTimeZone::getIanaID(): error obtaining IANA ID in %s on line %d
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(): could not convert time zone id to UTF-16 in %s on line %d
16 Warning: IntlTimeZone::getRegion(): error obtaining region in %s on line %d
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_getGMT_basic.phpt2 IntlTimeZone::getGMT(): basic test
8 $tz = IntlTimeZone::getGMT();
14 IntlTimeZone Object
21 IntlTimeZone Object
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_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(): wrong display type in %s on line %d
18 …r: intltz_get_display_name(): Argument #1 ($timezone) must be of type IntlTimeZone, null given in …
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(): bad zone type in %s on line %d
H A Dtimezone_createEnumeration_error.phpt2 IntlTimeZone::createEnumeration(): errors
9 var_dump(IntlTimeZone::createEnumeration(array()));
12 Warning: IntlTimeZone::createEnumeration(): invalid argument type in %s on line %d
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(): error obtaining canonical ID in %stimezone_getCanonicalID_…
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(): could not convert time zone id to UTF-16 in %s on line %d
H A Dtimezone_countEquivalentIDs_error.phpt2 IntlTimeZone::countEquivalentIDs(): errors
9 var_dump(IntlTimeZone::countEquivalentIDs("foo\x80"));
12 Warning: IntlTimeZone::countEquivalentIDs(): could not convert time zone id to UTF-16 in %s on line…
H A Dtimezone_getCanonicalID_error.phpt2 IntlTimeZone::getCanonicalID(): errors
9 var_dump(IntlTimeZone::getCanonicalID("foo\x81"));
12 Warning: IntlTimeZone::getCanonicalID(): could not convert time zone id to UTF-16 in %s on line %d
/PHP-8.4/ext/intl/timezone/
H A Dtimezone.stub.php6 class IntlTimeZone class
45 public static function createDefault(): IntlTimeZone {}
48 * @param IntlTimeZone|string|int|float|null $countryOrRawOffset
58 public static function createTimeZone(string $timezoneId): ?IntlTimeZone {}
70 public static function fromDateTimeZone(DateTimeZone $timezone): ?IntlTimeZone {}
83 …public function getDisplayName(bool $dst = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string…
113 public static function getGMT(): IntlTimeZone {}
158 public static function getUnknown(): IntlTimeZone {}
177 public function hasSameRules(IntlTimeZone $other): bool {}

Completed in 23 milliseconds

1234