Contents

defaultDigits(clock:hourCycle:)

Creates a custom format style portraying the minimum number of digits that represents the hour.

Declaration

static func defaultDigits(clock: Date.FormatStyle.Symbol.VerbatimHour.Clock, hourCycle: Date.FormatStyle.Symbol.VerbatimHour.HourCycle) -> Date.FormatStyle.Symbol.VerbatimHour

Parameters

  • 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.

See Also

Modifying a Verbatim Hour