TimeOfDayRange
public struct TimeOfDayRange : Hashable
Time period when the tariff element is valid, in local time. The time period wraps around to
the next day, when end time of the period TimeOfDayRange.to
is smaller than the beginning TimeOfDayRange.from.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors.
Related APIs may change for new releases without a deprecation process.
-
Start time of day, in hh:mm:ss format.
Declaration
Swift
public var from: String -
End time of day, in hh:mm:ss format. The period is exclusive of the given value.
Declaration
Swift
public var to: String -
Creates a new instance.
Declaration
Swift
public init(from: String = "00:00:00", to: String = "00:00:00")