Home
last modified time | relevance | path

Searched refs:fromDateTime (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/intl/tests/
H A Dcalendar_fromDateTime_error.phpt2 IntlCalendar::fromDateTime(): errors
12 IntlCalendar::fromDateTime("foobar");
20 var_dump(IntlCalendar::fromDateTime(new A));
23 var_dump(IntlCalendar::fromDateTime($date));
26 var_dump(IntlCalendar::fromDateTime($date));
30 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: DateTime object is unconstructed in …
33 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: object has an time zone offset that'…
36 Warning: IntlCalendar::fromDateTime(): intlcal_from_date_time: time zone id 'WEST' extracted from e…
H A Dcalendar_fromDateTime_basic.phpt2 IntlCalendar::fromDateTime(): basic test
11 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00 Europe/Rome');
20 $cal = IntlCalendar::fromDateTime(new DateTime('2012-01-01 00:00:00 PST'), "pt_PT");
H A Ddateformat_formatObject_calendar_variant_icu72-1.phpt13 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon
20 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00');
H A Ddateformat_formatObject_calendar_variant5.phpt13 $cal = IntlCalendar::fromDateTime('2012-01-01 00:00:00'); //Europe/Lisbon
20 $cal = IntlCalendar::fromDateTime('2012-01-01 05:00:00+03:00');
/php-src/ext/intl/calendar/
H A Dcalendar.stub.php139 …public static function fromDateTime(DateTime|string $datetime, ?string $locale = null): ?IntlCalen… function in IntlCalendar

Completed in 8 milliseconds