NCrontab.Advanced.CrontabSchedule.MinDate C# (CSharp) Method

MinDate() private method

private MinDate ( System.DateTime newValue, System.DateTime endValue ) : System.DateTime
newValue System.DateTime
endValue System.DateTime
return System.DateTime
        private DateTime MinDate(DateTime newValue, DateTime endValue)
        {
            return newValue >= endValue ? endValue : newValue;
        }