Esempio n. 1
0
 /// <summary>
 /// Is special month a leap month.
 /// </summary>
 /// <param name="dt"></param>
 /// <returns></returns>
 public static bool IsLeapMonth(this DateTime dt) => ChineseDateHelper.IsLeapMonth(null, dt);
Esempio n. 2
0
 /// <summary>
 /// Is special month a leap month.
 /// </summary>
 /// <param name="dt"></param>
 /// <param name="calendar"></param>
 /// <returns></returns>
 public static bool IsLeapMonth(this DateTime dt, ChineseLunisolarCalendar calendar) => ChineseDateHelper.IsLeapMonth(calendar, dt);
Esempio n. 3
0
 /// <summary>
 /// Is special month a leap month.
 /// </summary>
 /// <param name="d"></param>
 /// <returns></returns>
 public static bool IsLeapMonth(this DateInfo d) => ChineseDateHelper.IsLeapMonth(null, d);