Enumeration Caseswift 6.0.3FoundationEssentials
gregorian
The common calendar in Europe, the Western Hemisphere, and elsewhere.
- iOS
- 8.0+
- macOS
- 10.10+
- tvOS
- 9.0+
- watchOS
- 2.0+
case gregorian
The common calendar in Europe, the Western Hemisphere, and elsewhere.
case gregorian
s20FoundationEssentials8CalendarV10IdentifierO9gregorianyA2EmF
What are these?9RZC1
import FoundationEssentials
enum Identifier
Calendar supports many different kinds of calendars. Each is identified by an identifier here.
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 buddhist
case chinese
case coptic
case ethiopicAmeteAlem
case ethiopicAmeteMihret
case hebrew
case indian
case islamic
case islamicCivil
case islamicTabular
A simple tabular Islamic calendar using the astronomical/Thursday epoch of CE 622 July 15
case islamicUmmAlQura
The Islamic Umm al-Qura calendar used in Saudi Arabia. This is based on astronomical calculation, instead of tabular behavior.
case iso8601
case japanese
case persian
case republicOfChina