Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
/// <summary> /// Next /// </summary> /// <param name="ldt"></param> /// <param name="dayOfWeek"></param> /// <returns></returns> public static LocalDateTime Next(this LocalDateTime ldt, DayOfWeek dayOfWeek) { do { ldt = ldt.NextDay(); }while (ldt.DayOfWeek != NodaTime.Helpers.DayOfWeekHelper.ToNodaTimeWeek(dayOfWeek)); return(ldt); }