IntlDateFormatter::setCalendar
IntlDateFormatter::setCalendar
datefmt_set_calendar
(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0)
IntlDateFormatter::setCalendar -- datefmt_set_calendar — Sets the calendar type used by the formatter
Description
Object oriented style
bool IntlDateFormatter::setCalendar ( mixed $which )
Procedural style
bool datefmt_set_calendar ( IntlDateFormatter $fmt , mixed $which )
Sets the calendar or calendar type used by the formatter.
登录查看完整内容