System::Globalization::Calendar::IsLeapYear メソッド

Calendar::IsLeapYear(int) const method

年がうるう年かどうかをチェックします。

virtual bool System::Globalization::Calendar::IsLeapYear(int year) const
パラメーター型説明
年int年。

ReturnValue

指定された年がうるう年であれば true、そうでなければ false。

参照

Calendar::IsLeapYear(int, int) const method

年がうるう年かどうかをチェックします。

virtual bool System::Globalization::Calendar::IsLeapYear(int year, int era) const =0
パラメーター型説明
年int年。
時代int時代。

ReturnValue

指定された年がうるう年であれば true、そうでなければ false。

参照