Home
last modified time | relevance | path

Searched refs:IntlDateFormatter (Results 26 – 50 of 89) sorted by relevance

1234

/php-src/ext/intl/tests/
H A Dbug69398-icu74.1.phpt2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE.
14 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE…
15 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
H A Dgh12282.phpt2 GitHub #12282 IntlDateFormatter::locale with invalid value.
9 new IntlDateFormatter(
11 IntlDateFormatter::FULL,
12 IntlDateFormatter::FULL,
23 new IntlDateFormatter(Locale::getDefault());
28 IntlDateFormatter::__construct(): Argument #1 ($locale) "xx" is invalid
29 IntlDateFormatter::__construct(): Argument #1 ($locale) "xx" is invalid
H A Dbug69398.phpt2 IntlDateFormatter::formatObject(): returns wrong value when time style is NONE.
15 echo IntlDateFormatter::formatObject($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NONE…
16 echo IntlDateFormatter::formatObject ($date, array(IntlDateFormatter::SHORT, IntlDateFormatter::NON…
H A Dbug62017.phpt9 datefmt_create('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "\xFF",
10 IntlDateFormatter::GREGORIAN, 'a'));
13 new IntlDateFormatter('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "Europe/Lisbon",
14 IntlDateFormatter::GREGORIAN, "\x80"));
23 Exception: IntlDateFormatter::__construct(): datefmt_create: error converting pattern to UTF-16 in …
H A Dbug68471.phpt2 Bug #68471 (IntlDateFormatter fails for "GMT+00:00" timezone)
7 $formatter = new IntlDateFormatter(
9 IntlDateFormatter::NONE,
10 IntlDateFormatter::NONE,
16 object(IntlDateFormatter)#1 (0) {
H A Ddateformat_format_parse.phpt24 IntlDateFormatter::FULL,
25 IntlDateFormatter::LONG,
26 IntlDateFormatter::MEDIUM
148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Dbug77895.phpt2 Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null
10 var_dump(IntlDateFormatter::create(null, IntlDateFormatter::NONE, IntlDateFormatter::NONE));
14 object(IntlDateFormatter)#1 (0) {
H A Ddateformat_format_parse_version2.phpt25 IntlDateFormatter::FULL,
26 IntlDateFormatter::LONG,
27 IntlDateFormatter::MEDIUM
149 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
152 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
155 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
163 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
166 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
169 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
177 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat_format_parse_version_icu72-1.phpt24 IntlDateFormatter::FULL,
25 IntlDateFormatter::LONG,
26 IntlDateFormatter::MEDIUM
148 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
151 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
154 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
162 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
165 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
168 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
176 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
16 var_dump(new IntlDateFormatter(NULL, 0, 0, 'bad timezone'));
21 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, 3));
26 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, new stdclass));
32 Exception: IntlDateFormatter::__construct(): datefmt_create: No such time zone: 'bad timezone' in %…
34IntlDateFormatter::__construct(): datefmt_create: Invalid value for calendar type; it must be one …
36 Exception: IntlDateFormatter::__construct(): Argument #5 ($calendar) must be of type IntlCalendar|i…
H A Ddateformat_get_set_pattern2.phpt25 $res_str .= "\nCreating IntlDateFormatter with pattern = $start_pattern ";
26 …= ut_datefmt_create( "en-US", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT , 'America/New_Y…
27 …t = ut_datefmt_create( "en-US", IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/New_Yo…
37 $res_str .= "\nSetting IntlDateFormatter with pattern = $pattern_entry ";
57 Creating IntlDateFormatter with pattern = dd-MM-YY
62 Setting IntlDateFormatter with pattern = DD-MM-YYYY hh:mm:ss
68 Setting IntlDateFormatter with pattern = yyyy-DDD.hh:mm:ss z
74 Setting IntlDateFormatter with pattern = yyyy/MM/dd
80 Setting IntlDateFormatter with pattern = yyyyMMdd
H A Ddateformat_get_locale.phpt29 $res_str .= "\nCreating IntlDateFormatter with locale = $locale_entry";
30 …atefmt_create( $locale_entry , IntlDateFormatter::SHORT,IntlDateFormatter::SHORT,'America/Los_Ange…
52 Creating IntlDateFormatter with locale = de-DE
55 Creating IntlDateFormatter with locale = sl-IT-nedis
58 Creating IntlDateFormatter with locale = en_UK
61 Creating IntlDateFormatter with locale = hi
H A Ddateformat_get_timezone_id.phpt28 $res_str .= "\nCreating IntlDateFormatter with timezone_id = $timezone_id_entry";
29 …= ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT, $timezone_id_en…
45 Creating IntlDateFormatter with timezone_id = America/New_York
48 Creating IntlDateFormatter with timezone_id = US/Pacific
51 Creating IntlDateFormatter with timezone_id = US/Central
H A Ddateformat_create_cal_arg.phpt2 IntlDateFormatter: several forms of the calendar arg
16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal);
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant2.phpt2 IntlDateFormatter: several forms of the calendar arg
16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal);
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant3.phpt2 IntlDateFormatter: several forms of the calendar arg
17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
26 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal);
30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL);
38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant4.phpt2 IntlDateFormatter: several forms of the calendar arg
17 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
21 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
26 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal);
30 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
34 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL);
38 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
41 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_create_cal_arg_variant5.phpt2 IntlDateFormatter: several forms of the calendar arg
16 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
20 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, $cal);
25 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Madrid', $cal);
29 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0);
33 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, NULL, IntlDateFormatter::TRADITIONAL);
37 $df = new IntlDateFormatter('es_ES@calendar=islamic', 0, 0, 'UTC', IntlDateFormatter::TRADITIONAL);
40 $df = new IntlDateFormatter('es_ES', 0, 0, 'UTC', 0);
H A Ddateformat_bug65683.phpt2 Bug #65683 IntlDateFormatter accepts DateTimeImmutable
8 $formatter = new IntlDateFormatter('en-US', IntlDateFormatter::FULL, IntlDateFormatter::NONE, new D…
H A Ddateformat_is_set_lenient.phpt19 …= ut_datefmt_create( "en-US", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT , 'America/New_Y…
33 $res_str .= "Setting IntlDateFormatter with lenient = ";
52 $res_str .= "Setting IntlDateFormatter with lenient =";
79 IntlDateFormatter Created.
82 Setting IntlDateFormatter with lenient = TRUE
85 Setting IntlDateFormatter with lenient =FALSE
H A Dbug50590.phpt2 Bug #50590 (IntlDateFormatter::parse result is limited to the integer range)
10 $fmt = new IntlDateFormatter("en_US", IntlDateFormatter::FULL, IntlDateFormatter::FULL);
H A Dbug75378.phpt2 Bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument)
8 $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC'…
H A Ddateformat_timezone_arg_variations.phpt2 IntlDateFormatter: several forms of the timezone arg
15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York'));
28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li…
32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon'));
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
H A Ddateformat_timezone_arg_variations2.phpt2 IntlDateFormatter: several forms of the timezone arg
15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York'));
28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li…
32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon'));
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);
H A Ddateformat_timezone_arg_variations4.phpt2 IntlDateFormatter: several forms of the timezone arg
15 $df = new IntlDateFormatter('es_ES', 0, 0, NULL);
18 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam');
21 $df = new IntlDateFormatter('es_ES', 0, 0, new DateTimeZone('Europe/Lisbon'));
24 $df = new IntlDateFormatter('es_ES', 0, 0, IntlTimeZone::createTimeZone('America/New_York'));
28 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', new IntlGregorianCalendar('Europe/Li…
32 $df = new IntlDateFormatter('es_ES', 0, 0, NULL, new IntlGregorianCalendar('Europe/Lisbon'));
35 $df = new IntlDateFormatter('es_ES', 0, 0, 'Europe/Amsterdam', 0);

Completed in 27 milliseconds

1234