Home
last modified time | relevance | path

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

1234

/PHP-7.2/ext/intl/tests/
H A Dtimezone_createTimeZoneIDEnumeration_error.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): errors
13 var_dump(IntlTimeZone::createTimeZoneIDEnumeration());
14 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(array()));
15 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(-1));
16 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(IntlTimeZone::TYPE_ANY, array()));
17 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(IntlTimeZone::TYPE_ANY, "PT", "a80"));
19 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects at least 1 parameter, 0 given in %s on…
21 Warning: IntlTimeZone::createTimeZoneIDEnumeration(): intltz_create_time_zone_id_enumeration: bad a…
24 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects parameter 1 to be integer, array given…
32 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects parameter 2 to be string, array given …
[all …]
H A Dtimezone_getRegion_error.phpt2 IntlTimeZone::getRegion(): errors
13 var_dump(IntlTimeZone::getRegion());
14 var_dump(IntlTimeZone::getRegion(array()));
15 var_dump(IntlTimeZone::getRegion('Europe/Lisbon', 4));
16 var_dump(IntlTimeZone::getRegion("foo\x81"));
17 var_dump(IntlTimeZone::getRegion("foo"));
19 Warning: IntlTimeZone::getRegion() expects exactly 1 parameter, 0 given in %s on line %d
21 Warning: IntlTimeZone::getRegion(): intltz_get_region: bad arguments in %s on line %d
26 Warning: IntlTimeZone::getRegion(): intltz_get_region: bad arguments in %s on line %d
29 Warning: IntlTimeZone::getRegion() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
H A Dtimezone_createTimeZoneIDEnumeration_variant2.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without region
12 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
13 IntlTimeZone::TYPE_ANY);
15 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
16 IntlTimeZone::TYPE_CANONICAL);
18 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
19 IntlTimeZone::TYPE_CANONICAL_LOCATION);
25 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
26 IntlTimeZone::TYPE_ANY, null, null);
30 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
[all …]
H A Dtimezone_fromDateTimeZone_error.phpt2 IntlTimeZone::fromDateTimeZone(): argument errors
13 var_dump(IntlTimeZone::fromDateTimeZone());
14 var_dump(IntlTimeZone::fromDateTimeZone(1,2));
15 var_dump(IntlTimeZone::fromDateTimeZone('sdfds'));
16 var_dump(IntlTimeZone::fromDateTimeZone(new stdclass));
18 var_dump(IntlTimeZone::fromDateTimeZone($dt->getTimeZone()));
22 Warning: IntlTimeZone::fromDateTimeZone() expects exactly 1 parameter, 0 given in %s on line %d
24 Warning: IntlTimeZone::fromDateTimeZone(): intltz_from_date_time_zone: bad arguments in %s on line …
27 Warning: IntlTimeZone::fromDateTimeZone() expects exactly 1 parameter, 2 given in %s on line %d
29 Warning: IntlTimeZone::fromDateTimeZone(): intltz_from_date_time_zone: bad arguments in %s on line …
[all …]
H A Dtimezone_createTimeZone_error.phpt2 IntlTimeZone::createTimeZone(): errors
11 var_dump(IntlTimeZone::createTimeZone());
12 var_dump(IntlTimeZone::createTimeZone(new stdClass));
13 var_dump(IntlTimeZone::createTimeZone("foo bar", 4));
14 var_dump(IntlTimeZone::createTimeZone("foo\x80"));
16 Warning: IntlTimeZone::createTimeZone() expects exactly 1 parameter, 0 given in %s on line %d
18 Warning: IntlTimeZone::createTimeZone(): intltz_create_time_zone: bad arguments in %s on line %d
21 Warning: IntlTimeZone::createTimeZone() expects parameter 1 to be string, object given in %s on lin…
23 Warning: IntlTimeZone::createTimeZone(): intltz_create_time_zone: bad arguments in %s on line %d
26 Warning: IntlTimeZone::createTimeZone() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
H A Dtimezone_countEquivalentIDs_error.phpt2 IntlTimeZone::countEquivalentIDs(): errors
11 var_dump(IntlTimeZone::countEquivalentIDs());
12 var_dump(IntlTimeZone::countEquivalentIDs(array()));
13 var_dump(IntlTimeZone::countEquivalentIDs("foo\x80"));
14 var_dump(IntlTimeZone::countEquivalentIDs("foo bar", 7));
16 Warning: IntlTimeZone::countEquivalentIDs() expects exactly 1 parameter, 0 given in %s on line %d
18 Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: bad arguments in %s on li…
21 Warning: IntlTimeZone::countEquivalentIDs() expects parameter 1 to be string, array given in %s on …
23 Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: bad arguments in %s on li…
29 Warning: IntlTimeZone::countEquivalentIDs() expects exactly 1 parameter, 2 given in %s on line %d
[all …]
H A Dtimezone_getEquivalentID_error.phpt2 IntlTimeZone::getEquivalentID(): errors
11 var_dump(IntlTimeZone::getEquivalentID('foo'));
12 var_dump(IntlTimeZone::getEquivalentID('foo', 'bar'));
13 var_dump(IntlTimeZone::getEquivalentID('Europe/Lisbon', 0, 1));
14 var_dump(IntlTimeZone::getEquivalentID("foo\x80", 0));
16 Warning: IntlTimeZone::getEquivalentID() expects exactly 2 parameters, 1 given in %s on line %d
18 Warning: IntlTimeZone::getEquivalentID(): intltz_get_equivalent_id: bad arguments in %s on line %d
21 Warning: IntlTimeZone::getEquivalentID() expects parameter 2 to be integer, string given in %s on l…
23 Warning: IntlTimeZone::getEquivalentID(): intltz_get_equivalent_id: bad arguments in %s on line %d
26 Warning: IntlTimeZone::getEquivalentID() expects exactly 2 parameters, 3 given in %s on line %d
[all …]
H A Dtimezone_getDisplayName_error.phpt2 IntlTimeZone::getDisplayName(): errors
11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
15 var_dump($tz->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT, array()));
16 var_dump($tz->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT, NULL, NULL));
18 var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_PT'));
20 Warning: IntlTimeZone::getDisplayName() expects parameter 1 to be boolean, array given in %s on lin…
22 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d
27 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d
35 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d
38 Warning: IntlTimeZone::getDisplayName() expects at most 3 parameters, 4 given in %s on line %d
[all …]
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_getDisplayName_variant2.phpt2 IntlTimeZone::getDisplayName(): type parameter (ICU < 49)
17 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT));
21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG));
22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC));
23 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC));
24 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT));
25 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT));
26 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED));
27 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
H A Dtimezone_getCanonicalID_error.phpt2 IntlTimeZone::getCanonicalID(): errors
11 var_dump(IntlTimeZone::getCanonicalID());
12 var_dump(IntlTimeZone::getCanonicalID(array()));
13 var_dump(IntlTimeZone::getCanonicalID("foo\x81"));
15 Warning: IntlTimeZone::getCanonicalID() expects at least 1 parameter, 0 given in %s on line %d
17 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: bad arguments in %s on line %d
20 Warning: IntlTimeZone::getCanonicalID() expects parameter 1 to be string, array given in %s on line…
22 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: bad arguments in %s on line %d
25 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: could not convert time zone id to…
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_clone_basic.phpt2 IntlTimeZone clone handler: basic test
11 $tz1 = IntlTimeZone::createTimeZone('Europe/Amsterdam');
16 $gmt = IntlTimeZone::getGMT();
23 IntlTimeZone Object
30 IntlTimeZone Object
37 IntlTimeZone Object
44 IntlTimeZone Object
H A Dtimezone_createEnumeration_error.phpt2 IntlTimeZone::createEnumeration(): errors
11 var_dump(IntlTimeZone::createEnumeration(array()));
12 var_dump(IntlTimeZone::createEnumeration(1, 2));
14 Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: invalid argument type in %s …
17 Warning: IntlTimeZone::createEnumeration() expects at most 1 parameter, 2 given in %s on line %d
19 Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: bad arguments in %s on line …
H A Dtimezone_getOffset_error.phpt2 IntlTimeZone::getOffset(): errors
11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
18 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d
21 Warning: IntlTimeZone::getOffset() expects exactly 4 parameters, 3 given in %s on line %d
23 Warning: IntlTimeZone::getOffset(): intltz_get_offset: bad arguments in %s on line %d
26 Warning: IntlTimeZone::getOffset() expects exactly 4 parameters, 5 given in %s on line %d
28 Warning: IntlTimeZone::getOffset(): intltz_get_offset: bad arguments in %s on line %d
31 …rror: Argument 1 passed to intltz_get_offset() must be an instance of IntlTimeZone, null given in …
H A Dtimezone_createTimeZoneIDEnumeration_variant1.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without offset
12 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
13 IntlTimeZone::TYPE_ANY,
19 $enum = IntlTimeZone::createTimeZoneIDEnumeration(
20 IntlTimeZone::TYPE_ANY,
H A Dtimezone_getDisplayName_variant3.phpt2 IntlTimeZone::getDisplayName(): locale parameter
15 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon');
18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG));
19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, NULL));
20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, 'pt_PT'));
H A Dtimezone_createDefault_error.phpt2 IntlTimeZone::createDefault(): errors
11 var_dump(IntlTimeZone::createDefault(4));
13 Warning: IntlTimeZone::createDefault() expects exactly 0 parameters, 1 given in %s on line %d
15 Warning: IntlTimeZone::createDefault(): intltz_create_default: bad arguments in %s on line %d
H A Dtimezone_getGMT_basic.phpt2 IntlTimeZone::getGMT(): basic test
10 $tz = IntlTimeZone::getGMT();
17 IntlTimeZone Object
24 IntlTimeZone Object
H A Dtimezone_getGMT_error.phpt2 IntlTimeZone::getGMT(): errors
11 var_dump(IntlTimeZone::getGMT(4));
13 Warning: IntlTimeZone::getGMT() expects exactly 0 parameters, 1 given in %s on line %d
15 Warning: IntlTimeZone::getGMT(): intltz_get_gmt: bad arguments in %s on line %d
H A Dtimezone_getTZDataVersion_error.phpt2 IntlTimeZone::getTZDataVersion(): errors
11 var_dump(IntlTimeZone::getTZDataVersion('foo'));
13 Warning: IntlTimeZone::getTZDataVersion() expects exactly 0 parameters, 1 given in %s on line %d
15 Warning: IntlTimeZone::getTZDataVersion(): intltz_get_tz_data_version: bad arguments in %s on line …
H A Dtimezone_getDSTSavings_error.phpt2 IntlTimeZone::getDSTSavings(): errors
11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 Warning: IntlTimeZone::getDSTSavings() expects exactly 0 parameters, 1 given in %s on line %d
18 Warning: IntlTimeZone::getDSTSavings(): intltz_get_dst_savings: bad arguments in %s on line %d
21 … Argument 1 passed to intltz_get_dst_savings() must be an instance of 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_getErrorCode_error.phpt2 IntlTimeZone::getErrorCode(): errors
11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 Warning: IntlTimeZone::getErrorCode() expects exactly 0 parameters, 1 given in %s on line %d
18 Warning: IntlTimeZone::getErrorCode(): intltz_get_error_code: bad arguments in %s on line %d
21 …: Argument 1 passed to intltz_get_error_code() must be an instance of IntlTimeZone, null given in …
H A Dtimezone_getErrorMessage_error.phpt2 IntlTimeZone::getErrorMessage(): errors
11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon');
16 Warning: IntlTimeZone::getErrorMessage() expects exactly 0 parameters, 1 given in %s on line %d
18 Warning: IntlTimeZone::getErrorMessage(): intltz_get_error_message: bad arguments in %s on line %d
21 …rgument 1 passed to intltz_get_error_message() must be an instance of IntlTimeZone, null given in …

Completed in 20 milliseconds

1234