StructureFoundationInternationalization
Date.FormatStyle.Symbol.VerbatimHour.HourCycle
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A type that specifies the start of a clock representation for the format of a hour.
struct HourCycle
Topics
Initializers
Type Properties
static let oneBased: Date.FormatStyle.Symbol.VerbatimHour.HourCycleThe hour ranges from 1 to 12 in the 12-hour clock. Ranges from 1 to 24 in a 24-hour clock.static let zeroBased: Date.FormatStyle.Symbol.VerbatimHour.HourCycleThe hour ranges from 0 to 11 in a 12-hour clock. Ranges from 0 to 23 in a 24-hour clock.
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype