/// <summary> /// End of week /// </summary> /// <param name="ldt"></param> /// <param name="timeZoneOffset"></param> /// <returns></returns> public static LocalDateTime EndOfWeek(this LocalDateTime ldt, int timeZoneOffset) => ldt.LastDayOfWeek().EndOfDay(timeZoneOffset);
/// <summary> /// End of week /// </summary> /// <param name="ldt"></param> /// <returns></returns> public static LocalDateTime EndOfWeek(this LocalDateTime ldt) => ldt.LastDayOfWeek().EndOfDay();