Instance Property

relativeDateStyle

The formatting style to use for the relative time value.

Declaration

var relativeDateStyle: CLKRelativeDateStyle { get set }

Discussion

For a list of possible values, see CLKRelativeDateStyle.

See Also

Getting the Date Information

var date: Date

The target date to use for calculations.

var calendarUnits: NSCalendar.Unit

The calendar units to include in the formatted string