using Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace COMMON
{
    public class STARTTIME_HELP
    {
        #region 判断时间是否合理
        /// <summary>
        /// 判断起始时间时间是否合理
        /// </summary>
        /// <param name="date"></param>
        /// <returns></returns>
        public static DateTime GetSTARTTIME(DateTime date)
        {
            return date < ConfigEntity.Instance.STARTTIME? ConfigEntity.Instance.STARTTIME:date;
        }
        #endregion
    }
}
