Validation helpers

A place for generic validation functions.

In some places the variable name date_time has been used to avoid conflict with the imported datetime class.

validate._convert_string_to_datetime(date_time)[source]
validate.in_min_max_range(min_value, max_value, value)[source]
validate.not_in_the_future(date_time)[source]
validate.not_in_the_future_multiple_args(*args)[source]
validate.start_datetime_not_after_end_datetime(start_datetime, end_datetime)[source]