コード例 #1
0
 /// <summary>
 /// Beginning of month
 /// </summary>
 /// <param name="ld"></param>
 /// <param name="timeZoneOffset"></param>
 /// <returns></returns>
 public static LocalDateTime BeginningOfMonth(this LocalDateTime ld, int timeZoneOffset) => ld.FirstDayOfMonth().BeginningOfDay(timeZoneOffset);
コード例 #2
0
 /// <summary>
 /// Beginning of month
 /// </summary>
 /// <param name="ld"></param>
 /// <returns></returns>
 public static LocalDateTime BeginningOfMonth(this LocalDateTime ld) => ld.FirstDayOfMonth().BeginningOfDay();