TimeRange Class

Defines a time range in a 24 hour day specified by a start and end time.

Inheritance
TimeRange

Constructor

TimeRange(*, start_time=None, end_time=None, **kwargs)

Parameters

start_time
TimeOfDay
Required

Defines an hour and minute of the day specified in 24 hour time.

end_time
TimeOfDay
Required

Defines an hour and minute of the day specified in 24 hour time.