EnumerationFoundation5.9.0
Component
An enumeration for the various components of a calendar date.
enum Component
Several Calendar
APIs use either a single unit or a set of units as input to a search algorithm.
Citizens in Foundation
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Members
case calendar
case day
case era
case hour
case minute
case month
case nanosecond
case quarter
case second
case timeZone
case weekOfMonth
case weekOfYear
case weekday
case weekdayOrdinal
case year
case yearForWeekOfYear