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