twoDigits(clock:hourCycle:)
Creates a custom format style portraying two digits that represent the hour.
Declaration
static func twoDigits(clock: Date.FormatStyle.Symbol.VerbatimHour.Clock, hourCycle: Date.FormatStyle.Symbol.VerbatimHour.HourCycle) -> Date.FormatStyle.Symbol.VerbatimHourParameters
- clock:
The clock representation.
- hourCycle:
The start of the clock representation.
Return Value
An hour format style customized according to the specified clock representation and the start of the clock representation.