IntlGregorianCalendar::setGregorianChange

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

IntlGregorianCalendar::setGregorianChangeDéfinit la date de changement du calendrier grégorien

Description

Style orienté objet

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

Style procédural

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

Définit la date de changement du calendrier grégorien. Il s'agit du point à partir duquel le calendrier passe des dates juliennes aux dates grégoriennes, exprimé en horodatage Unix en millisecondes.

Liste de paramètres

calendar

Une instance de IntlGregorianCalendar.

timestamp

La date de changement du calendrier grégorien, exprimée en horodatage Unix en millisecondes.

Valeurs de retour

Cette fonction retourne true en cas de succès ou false si une erreur survient.

add a note

User Contributed Notes

There are no user contributed notes for this page.