IntlGregorianCalendar::getGregorianChange

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::getGregorianChangeGet the Gregorian Calendar change date

说明

面向对象风格

public function IntlGregorianCalendar::getGregorianChange(): float

过程化风格

function intlgregcal_get_gregorian_change(IntlGregorianCalendar $calendar): float

Gets 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. It defaults to midnight (UTC) on October 15, 1582.

参数

calendar

An IntlGregorianCalendar instance.

返回值

Returns the change date.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。