IntlGregorianCalendar::setGregorianChange
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::setGregorianChange — Set the Gregorian Calendar change date
说明
面向对象风格
过程化风格
Sets the Gregorian Calendar change date. This is the point at which the calendar switches from Julian dates to Gregorian dates, expressed as a Unix timestamp in milliseconds.
参数
calendar
An IntlGregorianCalendar instance.
timestamp
The Gregorian Calendar change date, expressed as a Unix timestamp in milliseconds.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
