models/enums_model library

Functions

endTimeEnumToTimeOfDay(String endTimeEnum, DateTime? endTime) DateTime?
converts an endTimeEnum value and endTime to a DateTime object representing the adjusted time of day returns the adjusted DateTime value, or null if the conversion is not possible
startTimeEnumToTimeOfDay(String startTimeEnum, DateTime? startTime) DateTime?
converts a startTimeEnum value and startTime to a DateTime object representing the adjusted time of day, returning the adjusted DateTime value or null