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; }
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; }
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; }
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; }