protected override bool ParseText(string text, out TimeSpan time) { if (CustomTimePickerHelpers.ParseComboBoxItem(new DateTime(StartTime.Ticks), text, out time)) { // Time must be greater than start time return(time > StartTime); } time = default; return(false); }
protected virtual bool ParseText(string text, out TimeSpan time) { return(CustomTimePickerHelpers.ParseComboBoxItem(DateTime.MinValue, text, out time)); }