« IntlGregorianCalendar::getGregorianChange
IntlGregorianCalendar::setGregorianChange »

IntlGregorianCalendar::isLeapYear

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

IntlGregorianCalendar::isLeapYear — 指定された年がうるう年かを判定する

説明

オブジェクト指向型

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

手続き型

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

指定された year がグレゴリオ暦のうるう年かどうかを判定します。

パラメータ

calendar

IntlGregorianCalendar クラスのインスタンス。

year

判定する年。

戻り値

うるう年の場合、true を返します。 そうでない場合や、失敗した場合は false を返します。

関連キーワード:
IntlGregorianCalendar   うるう年   判定   year   isLeapYear   calendar   getGregorianChange   setGregorianChange   オブジェクト指向   手続き   intlgregcal   leap   グレゴリオ   インスタンス
関連する関数・ページ:
intlgregoriancalendar.getgregorianchange   intlgregoriancalendar.setgregorianchange   intlgregoriancalendar.createfromdate   intlgregoriancalendar.createfromdatetime   intlgregoriancalendar.construct   class.intlgregoriancalendar