Enumeration Caseswift 6.0.3FoundationEssentials
calendar
- iOS
- 8.0+
- macOS
- 10.10+
- tvOS
- 9.0+
- watchOS
- 2.0+
case calendar
case calendar
s20FoundationEssentials8CalendarV9ComponentO8calendaryA2EmF
What are these?55GPR
import FoundationEssentials
enum Component
An enumeration for the various components of a calendar date.
struct Calendar
Calendar
encapsulates information about systems of reckoning time in which the beginning, length, and divisions of a year are defined. It provides information about the calendar and support for calendrical computations such as determining the range of a given calendrical unit and adding units to a given absolute time.
case day
case dayOfYear
case era
case hour
case isLeapMonth
case minute
case month
case nanosecond
case quarter
case second
case timeZone
case weekOfMonth
case weekOfYear
case weekday
case weekdayOrdinal
case year
case yearForWeekOfYear