IntlGregorianCalendar::setGregorianChange

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

IntlGregorianCalendar::setGregorianChangeSet the Gregorian Calendar change date

Опис

Об'єктно-орієнтований стиль

public function IntlGregorianCalendar::setGregorianChange(float $timestamp): bool

Процедурний стиль

function intlgregcal_set_gregorian_change(IntlGregorianCalendar $calendar, float $timestamp): bool

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.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.

add a note

User Contributed Notes

There are no user contributed notes for this page.