using System;
using System.ComponentModel.DataAnnotations;

namespace Qusion.WebApp.Areas.cms.Filters
{
    public class ValidDateTimeAttribute : RangeAttribute
    {
        public ValidDateTimeAttribute(DateTime min)
            : base(typeof (DateTime), min.ToShortDateString(), DateTime.MaxValue.ToShortDateString())
        {
        }
    }
}