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