Lines Matching refs:cal
14 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon
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";
21 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00');
22 echo datefmt_format_object($cal, IntlDateFormatter::FULL), "\n";
24 $cal = IntlCalendar::createInstance(null,'en-US@calendar=islamic-civil');
25 $cal->setTime(strtotime('2012-01-01 00:00:00')*1000.);
26 echo IntlDateFormatter::formatObject($cal), "\n";
27 echo IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL, "en-US"), "\n";