Beispiel #1
0
        public MinuteBetweenChecker()
        {
            Implementation = new BetweenValuePartialImplementation();

            Implementation.Max = 59;
            Implementation.Min = 0;

            Implementation.Value1 = DateTime.Now.Minute;
            Implementation.Value2 = DateTime.Now.Minute;

            Implementation.ValueName = this.Name;
        }
Beispiel #2
0
        public MonthBetweenChecker()
        {
            Implementation = new BetweenValuePartialImplementation();

            Implementation.Max = 12;
            Implementation.Min = 1;

            Implementation.Value1 = DateTime.Now.Month;
            Implementation.Value2 = DateTime.Now.Month;

            Implementation.ValueName = this.Name;
        }
Beispiel #3
0
        public YearBetweenChecker()
        {
            Implementation = new BetweenValuePartialImplementation();

            Implementation.Max = 9999;
            Implementation.Min = 1800;

            Implementation.Value1 = DateTime.Now.Year;
            Implementation.Value2 = DateTime.Now.Year;

            Implementation.ValueName = this.Name;
        }
Beispiel #4
0
        public DayBetweenChecker()
        {
            Implementation = new BetweenValuePartialImplementation();

            Implementation.Max = 31;
            Implementation.Min = 1;

            Implementation.Value1 = DateTime.Now.Day;
            Implementation.Value2 = DateTime.Now.Day;

            Implementation.ValueName = this.Name;
        }