/// <summary> /// Is current day a work day<br /> /// 当前日期是否为工作日 /// </summary> /// <returns></returns> public bool IsWorkDay() => InternalDateTime.IsWeekday();
/// <summary> /// Is current day weekend<br /> /// 当天日期是否为周末 /// </summary> /// <returns></returns> public bool IsWeekend() => InternalDateTime.IsWeekend();
/// <summary> /// Add months<br /> /// 添加月份 /// </summary> /// <param name="months"></param> /// <returns></returns> public ChineseDateTime AddMonths(int months) { return(new(InternalDateTime.AddMonths(months))); }
/// <summary> /// Add days<br /> /// 添加若干天 /// </summary> /// <param name="days"></param> /// <returns></returns> public ChineseDateTime AddDays(int days) { return(new(InternalDateTime.AddDays(days))); }
public ConsultationViewModel() { ConsultationTime = new InternalDateTime(); }
public ViewModelBase() { CreatedOn = new InternalDateTime(); ModifiedOn = new InternalDateTime(); }