validateEventTime static method
[String?] validateEventTime(
)
Method to validate event time.
params:
startTime
: the start time of the eventendTime
: the end time of the event
returns:
String?
: error message if time is invalid.
Implementation
static String? validateEventTime(TimeOfDay startTime, TimeOfDay endTime)
- talawa
- validators
- Validator
- validateEventTime static method