StructureFoundationInternationalization
Date.FormatStyle.Symbol.VerbatimHour.Clock
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A type that specifies a clock representation for the format of an hour.
struct Clock
Topics
Initializers
Type Properties
static let twelveHour: Date.FormatStyle.Symbol.VerbatimHour.ClockIn a 12-hour clock system, the 24-hour day is divided into two periods, a.m. and p.m, and each period consists of 12 hours.static let twentyFourHour: Date.FormatStyle.Symbol.VerbatimHour.ClockIn a 24-hour clock system, the day runs from midnight to midnight, dividing into 24 hours.
Relationships
Conforms To
Swift.DecodableSwift.EncodableSwift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype