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