/// <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);
/// <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);
/// <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);