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