Home
last modified time | relevance | path

Searched refs:IntlDateFormatter (Results 1 – 25 of 70) sorted by relevance

123

/PHP-5.6/ext/intl/tests/
H A Ddateformat_calendars_variant3.phpt2 IntlDateFormatter, calendars and time zone
14 IntlDateFormatter::FULL,
15 IntlDateFormatter::FULL,
17 IntlDateFormatter::TRADITIONAL);
19 IntlDateFormatter::FULL,
20 IntlDateFormatter::FULL,
22 IntlDateFormatter::GREGORIAN);
24 IntlDateFormatter::FULL,
25 IntlDateFormatter::FULL,
33 IntlDateFormatter::FULL,
[all …]
H A Ddateformat_calendars.phpt2 IntlDateFormatter, calendars and time zone
14 IntlDateFormatter::FULL,
15 IntlDateFormatter::FULL,
17 IntlDateFormatter::TRADITIONAL);
19 IntlDateFormatter::FULL,
20 IntlDateFormatter::FULL,
22 IntlDateFormatter::GREGORIAN);
24 IntlDateFormatter::FULL,
25 IntlDateFormatter::FULL,
33 IntlDateFormatter::FULL,
[all …]
H A Ddateformat_calendars_variant2.phpt2 IntlDateFormatter, calendars and time zone
15 IntlDateFormatter::FULL,
16 IntlDateFormatter::FULL,
18 IntlDateFormatter::TRADITIONAL);
20 IntlDateFormatter::FULL,
21 IntlDateFormatter::FULL,
23 IntlDateFormatter::GREGORIAN);
25 IntlDateFormatter::FULL,
26 IntlDateFormatter::FULL,
34 IntlDateFormatter::FULL,
[all …]
H A Ddateformat_localtime.phpt23 IntlDateFormatter::FULL,
24 IntlDateFormatter::LONG,
25 IntlDateFormatter::MEDIUM,
26 IntlDateFormatter::SHORT,
27 IntlDateFormatter::NONE
33 IntlDateFormatter::FULL,
34 IntlDateFormatter::LONG,
35 IntlDateFormatter::MEDIUM,
48 $fmt1 = ut_datefmt_create( 'en_US_CA', IntlDateFormatter::LONG, IntlDateFormatter::LONG);
49 … $fmt2 = ut_datefmt_create( 'en_US_CA', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM);
[all …]
H A Ddateformat_parse.phpt36 …array("Sunday, September 18, 2039 4:06:40 PM PT", IntlDateFormatter::FULL, IntlDateFormatter::FULL…
37 …array("Wednesday, December 17, 1969 6:40:00 PM PT", IntlDateFormatter::FULL, IntlDateFormatter::FU…
38 …array("Thursday, December 18, 1969 8:49:59 PM PST", IntlDateFormatter::FULL, IntlDateFormatter::FU…
39 array("December 18, 1969 8:49:59 AM PST", IntlDateFormatter::LONG, IntlDateFormatter::FULL),
40 array("12/18/69 8:49 AM", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT),
41 array("19691218 08:49 AM", IntlDateFormatter::SHORT, IntlDateFormatter::SHORT),
43 …array("Sunday, September 18, 2039 4:06:40 PM PT", IntlDateFormatter::FULL, IntlDateFormatter::NONE…
45 array("December 18, 1969 8:49:59 AM PST", IntlDateFormatter::LONG, IntlDateFormatter::NONE),
46 array("December 18, 1969 8:49:59 AM PST", IntlDateFormatter::LONG, IntlDateFormatter::SHORT),
47 array("12/18/69 8:49 AM", IntlDateFormatter::SHORT, IntlDateFormatter::LONG),
[all …]
H A Ddateformat_get_datetype.phpt16 IntlDateFormatter::FULL,
17 IntlDateFormatter::LONG,
18 IntlDateFormatter::MEDIUM,
19 IntlDateFormatter::SHORT,
20 IntlDateFormatter::NONE
28 …datefmt_create( "de-DE", $datetype_entry , IntlDateFormatter::SHORT,'America/Los_Angeles', IntlDa…
44 Creating IntlDateFormatter with date_type = 0
47 Creating IntlDateFormatter with date_type = 1
50 Creating IntlDateFormatter with date_type = 2
53 Creating IntlDateFormatter with date_type = 3
[all …]
H A Ddateformat_get_timetype.phpt16 IntlDateFormatter::FULL,
17 IntlDateFormatter::LONG,
18 IntlDateFormatter::MEDIUM,
19 IntlDateFormatter::SHORT,
20 IntlDateFormatter::NONE
28 …fmt = ut_datefmt_create( "de-DE", IntlDateFormatter::SHORT, $timetype_entry ,'America/Los_Angeles…
44 Creating IntlDateFormatter with time_type = 0
47 Creating IntlDateFormatter with time_type = 1
50 Creating IntlDateFormatter with time_type = 2
53 Creating IntlDateFormatter with time_type = 3
[all …]
H A Ddateformat_formatObject_error.phpt2 IntlDateFormatter::formatObject(): error conditions
13 var_dump(IntlDateFormatter::formatObject());
14 var_dump(IntlDateFormatter::formatObject(1));
15 var_dump(IntlDateFormatter::formatObject(new stdclass));
18 var_dump(IntlDateFormatter::formatObject(new A));
20 var_dump(IntlDateFormatter::formatObject(new B));
23 var_dump(IntlDateFormatter::formatObject($cal, -2));
24 var_dump(IntlDateFormatter::formatObject($cal, array()));
25 var_dump(IntlDateFormatter::formatObject($cal, array(1,2,3)));
27 var_dump(IntlDateFormatter::formatObject($cal, array(1, -2)));
[all …]
H A Ddateformat_parse_localtime_parsepos.phpt21 IntlDateFormatter::FULL,
22 IntlDateFormatter::LONG,
23 IntlDateFormatter::MEDIUM,
36 $fmt1 = ut_datefmt_create( 'en_US_CA', IntlDateFormatter::LONG, IntlDateFormatter::LONG);
37 $fmt2 = ut_datefmt_create( 'en_US_CA', IntlDateFormatter::MEDIUM, IntlDateFormatter::MEDIUM);
38 $fmt3 = ut_datefmt_create( 'en_US_CA', IntlDateFormatter::FULL, IntlDateFormatter::FULL);
87 IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR'
91 IntlDateFormatter : DateType::FULL, TimeType::FULL
97 IntlDateFormatter : DateType::LONG, TimeType::LONG Error : 'Date parsing failed: U_PARSE_ERROR'
99 IntlDateFormatter : DateType::MEDIUM, TimeType::MEDIUM
[all …]
H A Ddateformat_format.phpt25 IntlDateFormatter::FULL,
26 IntlDateFormatter::LONG,
27 IntlDateFormatter::MEDIUM,
28 IntlDateFormatter::SHORT,
29 IntlDateFormatter::NONE
159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat_formatObject_calendar_variant5.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant2.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
14 echo IntlDateFormatter::formatObject($cal), "\n";
15 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
18 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_format_variant2.phpt25 IntlDateFormatter::FULL,
26 IntlDateFormatter::LONG,
27 IntlDateFormatter::MEDIUM,
28 IntlDateFormatter::SHORT,
29 IntlDateFormatter::NONE
159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat_format_variant3.phpt25 IntlDateFormatter::FULL,
26 IntlDateFormatter::LONG,
27 IntlDateFormatter::MEDIUM,
28 IntlDateFormatter::SHORT,
29 IntlDateFormatter::NONE
159 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
161 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
163 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
165 IntlDateFormatter locale= en_US ,datetype = 3 ,timetype =3
174 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]
H A Ddateformat_formatObject_calendar_variant3.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
15 echo IntlDateFormatter::formatObject($cal), "\n";
16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_calendar_variant4.phpt2 IntlDateFormatter::formatObject(): IntlCalendar tests
15 echo IntlDateFormatter::formatObject($cal), "\n";
16 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($cal, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($cal, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL)…
19 echo IntlDateFormatter::formatObject($cal, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
H A Ddateformat_formatObject_datetime.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant2.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant5.phpt2 IntlDateFormatter::formatObject(): DateTime tests
14 echo IntlDateFormatter::formatObject($dt), "\n";
15 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
16 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
17 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
18 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
21 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant3.phpt2 IntlDateFormatter::formatObject(): DateTime tests
15 echo IntlDateFormatter::formatObject($dt), "\n";
16 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
19 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Ddateformat_formatObject_datetime_variant4.phpt2 IntlDateFormatter::formatObject(): DateTime tests
15 echo IntlDateFormatter::formatObject($dt), "\n";
16 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
17 echo IntlDateFormatter::formatObject($dt, null, "en-US"), "\n";
18 echo IntlDateFormatter::formatObject($dt, array(IntlDateFormatter::SHORT, IntlDateFormatter::FULL),…
19 echo IntlDateFormatter::formatObject($dt, 'E y-MM-d HH,mm,ss.SSS v', "en-US"), "\n";
22 echo IntlDateFormatter::formatObject($dt, IntlDateFormatter::FULL), "\n";
H A Dbug62017.phpt11 datefmt_create('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "\xFF",
12 IntlDateFormatter::GREGORIAN, 'a'));
14 new IntlDateFormatter('', IntlDateFormatter::NONE, IntlDateFormatter::NONE, "Europe/Lisbon",
15 IntlDateFormatter::GREGORIAN, "\x80"));
20 Warning: IntlDateFormatter::__construct(): datefmt_create: error converting pattern to UTF-16 in %s…
H A Ddateformat___construct_bad_tz_cal.phpt2 IntlDateFormatter::__construct(): bad timezone or calendar
13 var_dump(new IntlDateFormatter(NULL, 0, 0, 'bad timezone'));
15 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, 3));
17 var_dump(new IntlDateFormatter(NULL, 0, 0, NULL, new stdclass));
24 Warning: IntlDateFormatter::__construct(): datefmt_create: no such time zone: 'bad timezone' in %s …
27IntlDateFormatter::__construct(): datefmt_create: invalid value for calendar type; it must be one …
30 Warning: IntlDateFormatter::__construct(): datefmt_create: Invalid calendar argument; should be an …
H A Ddateformat_format_parse.phpt23 IntlDateFormatter::FULL,
24 IntlDateFormatter::LONG,
25 IntlDateFormatter::MEDIUM
147 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
150 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
153 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
161 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
164 IntlDateFormatter locale= en_US ,datetype = 1 ,timetype =1
167 IntlDateFormatter locale= en_US ,datetype = 2 ,timetype =2
175 IntlDateFormatter locale= en_US ,datetype = 0 ,timetype =0
[all …]

Completed in 46 milliseconds

123