예제 #1
0
 /// <summary>
 /// Is special year a leap year.
 /// </summary>
 /// <param name="dt"></param>
 /// <param name="calendar"></param>
 /// <returns></returns>
 public static bool IsLeapYear(this DateTime dt, ChineseLunisolarCalendar calendar) => ChineseDateHelper.IsLeapYear(calendar, dt);
예제 #2
0
 /// <summary>
 /// Is special year a leap year.
 /// </summary>
 /// <param name="d"></param>
 /// <param name="calendar"></param>
 /// <returns></returns>
 public static bool IsLeapYear(this DateInfo d, ChineseLunisolarCalendar calendar) => ChineseDateHelper.IsLeapYear(calendar, d);
예제 #3
0
 /// <summary>
 /// Is special year a leap year.
 /// </summary>
 /// <param name="dt"></param>
 /// <returns></returns>
 public static bool IsLeapYear(this DateTime dt) => ChineseDateHelper.IsLeapYear(null, dt);
예제 #4
0
 /// <summary>
 /// Is special year a leap year.
 /// </summary>
 /// <param name="d"></param>
 /// <returns></returns>
 public static bool IsLeapYear(this DateInfo d) => ChineseDateHelper.IsLeapYear(null, d);