IntlGregorianCalendar::setGregorianChange
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::setGregorianChange — Set the Gregorian Calendar change date
Description
Object-oriented style
public function IntlGregorianCalendar::setGregorianChange(
float $timestamp):
bool
Procedural style
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.
Parameters
calendar
-
An IntlGregorianCalendar instance.
timestamp
-
The Gregorian Calendar change date, expressed as a Unix timestamp in
milliseconds.
Return Values
Returns true on success or false on failure.