Home
last modified time | relevance | path

Searched refs:formatObject (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/intl/tests/
H A Ddateformat_formatObject_error.phpt2 IntlDateFormatter::formatObject(): error conditions
11 var_dump(IntlDateFormatter::formatObject(new stdclass));
14 var_dump(IntlDateFormatter::formatObject(new A));
17 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)));
26 var_dump(IntlDateFormatter::formatObject($cal, array(array(), 1)));
27 var_dump(IntlDateFormatter::formatObject($cal, array(1, -2)));
28 var_dump(IntlDateFormatter::formatObject($cal, ""));
[all …]
H A Ddateformat_formatObject_datetime_variant_icu72-1.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_calendar_variant_icu72-1.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";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
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";
25 echo IntlDateFormatter::formatObject($cal), "\n";
26 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";
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 Dbug69398.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 Dbug69374.phpt2 IntlDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string patte…
12 echo IntlDateFormatter::formatObject($date, $pattern1, 'vi_VN'), "\n";
13 echo IntlDateFormatter::formatObject ($date, $pattern2, 'ko_KR'), "\n";
/php-src/ext/intl/dateformat/
H A Ddateformat.stub.php153 …public static function formatObject($datetime, $format = null, ?string $locale = null): string|fal… function in IntlDateFormatter

Completed in 15 milliseconds