Instance Property

calendar

The calendar used to interpret the date components.

Declaration

var calendar: Calendar? { get set }

Discussion

See Also

Setting a Calendar and Time Zone

var timeZone: TimeZone?

The time zone used to interpret the date components.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software