Exemplo n.º 1
0
 /// <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);
Exemplo n.º 2
0
 /// <summary>
 /// End of week
 /// </summary>
 /// <param name="ldt"></param>
 /// <returns></returns>
 public static LocalDateTime EndOfWeek(this LocalDateTime ldt) => ldt.LastDayOfWeek().EndOfDay();