TimeOfDateExtension extension

on

Properties

inMinutes int

Available on TimeOfDay, provided by the TimeOfDateExtension extension

Returns the total minutes since midnight for this TimeOfDay.
no setter

Methods

difference(TimeOfDay other) TimeOfDay

Available on TimeOfDay, provided by the TimeOfDateExtension extension

Returns the difference between this TimeOfDay and the other TimeOfDay as a new TimeOfDay.
formatTime() String

Available on TimeOfDay, provided by the TimeOfDateExtension extension

Formats this TimeOfDay as a string in HH:MM format.
isBetween(TimeOfDay being, TimeOfDay end) bool

Available on TimeOfDay, provided by the TimeOfDateExtension extension

Checks if this TimeOfDay is between the start and end TimeOfDay (inclusive start, exclusive end).