/// <summary> /// Previous Week.<br /> /// 上一周。 /// </summary> /// <param name="ld"></param> /// <returns></returns> public static LocalDate PreviousWeek(this LocalDate ld) => ld.AddWeeks(-1);
/// <summary> /// Next Week.<br /> /// 下一周。 /// </summary> /// <param name="ld"></param> /// <returns></returns> public static LocalDate NextWeek(this LocalDate ld) => ld.AddWeeks(1);