LonghornPHP 2026

IntlGregorianCalendar::isLeapYear

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

IntlGregorianCalendar::isLeapYearDétermine si l'année donnée est une année bissextile

Description

Style orienté objet

public function IntlGregorianCalendar::isLeapYear(int $year): bool

Style procédural

function intlgregcal_is_leap_year(IntlGregorianCalendar $calendar, int $year): bool

Détermine si l'year donné est une année bissextile dans le calendrier grégorien.

Liste de paramètres

calendar

Une instance de IntlGregorianCalendar.

year

L'année à vérifier.

Valeurs de retour

Renvoie true pour les années bissextiles, false sinon et en cas d'échec.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top