The calendar units to include in the formatted string
SDK
- watchOS 2.0+
Framework
- Clock
Kit
Declaration
var calendarUnits: NSCalendar.Unit { get set }
Discussion
For a list of supported units, see Date Format Options.
The calendar units to include in the formatted string
SDK
Framework
var calendarUnits: NSCalendar.Unit { get set }
For a list of supported units, see Date Format Options.
var date: Date
The target date to use for calculations.
var relative Date Style: CLKRelative Date Style
The formatting style to use for the relative time value.