C# Класс Cosmos.Date.Chinese.CosmosDateInfoLeapExtensions

Cosmos DateInfo leap extensions.
Показать файл Открыть проект

Открытые методы

Метод Описание
IsLeapDay ( DateInfo d ) : bool

Determine whether the specified day is a leap day.
判断指定的日是否为闰日。

IsLeapDay ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool

Determine whether the specified day is a leap day.
判断指定的日是否为闰日。

IsLeapMonth ( DateInfo d ) : bool

Determine whether the specified month is a leap month.
判断指定的月份是否为闰月。

IsLeapMonth ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool

Determine whether the specified month is a leap month.
判断指定的月份是否为闰月。

IsLeapYear ( DateInfo d ) : bool

Determine whether the specified year is a leap year.
判断指定的年份是否为闰年。

IsLeapYear ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool

Determine whether the specified year is a leap year.
判断指定的年份是否为闰年。

Описание методов

IsLeapDay() публичный статический Метод

Determine whether the specified day is a leap day.
判断指定的日是否为闰日。
public static IsLeapDay ( DateInfo d ) : bool
d DateInfo
Результат bool

IsLeapDay() публичный статический Метод

Determine whether the specified day is a leap day.
判断指定的日是否为闰日。
public static IsLeapDay ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool
d DateInfo
calendar ChineseLunisolarCalendar
Результат bool

IsLeapMonth() публичный статический Метод

Determine whether the specified month is a leap month.
判断指定的月份是否为闰月。
public static IsLeapMonth ( DateInfo d ) : bool
d DateInfo
Результат bool

IsLeapMonth() публичный статический Метод

Determine whether the specified month is a leap month.
判断指定的月份是否为闰月。
public static IsLeapMonth ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool
d DateInfo
calendar ChineseLunisolarCalendar
Результат bool

IsLeapYear() публичный статический Метод

Determine whether the specified year is a leap year.
判断指定的年份是否为闰年。
public static IsLeapYear ( DateInfo d ) : bool
d DateInfo
Результат bool

IsLeapYear() публичный статический Метод

Determine whether the specified year is a leap year.
判断指定的年份是否为闰年。
public static IsLeapYear ( DateInfo d, ChineseLunisolarCalendar calendar ) : bool
d DateInfo
calendar ChineseLunisolarCalendar
Результат bool