/// <summary>
        /// Match date.<br />
        /// 匹配日期
        /// </summary>
        /// <param name="year"></param>
        /// <param name="month"></param>
        /// <param name="day"></param>
        /// <returns></returns>
        public bool Match(int year, int month, int day)
        {
            if (!Match(year))
            {
                return(false);
            }

            var dt = DateTimeFactory.Create(year, month, day);

            // ReSharper disable once ConvertIfStatementToReturnStatement
            if (dt < FromDate.ToDateTime() || dt > ToDate.ToDateTime())
            {
                return(false);
            }

            return(true);
        }