private DateTime GetPreDate(DateTime dateTime)
 {
     try
     {
         return(Picker switch
         {
             DatePickerType.Date => DateHelper.AddDaysSafely(dateTime, -1),
             DatePickerType.Year => DateHelper.AddYearsSafely(dateTime, -1),
             DatePickerType.Month => DateHelper.AddMonthsSafely(dateTime, -1),
             DatePickerType.Quarter => DateHelper.AddMonthsSafely(dateTime, -3),
             _ => dateTime,
         });
     }
        private string GetDisabledCls(DateTime currentColDate)
        {
            string disabledCls = "";

            var nextStartDate = GetNextStartDate(currentColDate);

            if (DisabledDate?.Invoke(DateHelper.AddDaysSafely(nextStartDate, -1)) == true)
            {
                disabledCls = $"{PrefixCls}-cell-disabled";
            }

            return(disabledCls);
        }