static func relative(presentation: Presentation, unitsStyle : UnitsStyle) -> Date.RelativeFormatStyle
Returns a relative date format style based on the provided presentation and unit style.
var presentation: Date.RelativeFormatStyle.Presentation
Specifies the style to use when describing a relative date, such as “1 day ago” or “yesterday”.
var calendar: Calendar
The calendar to use when formatting relative dates.
var capitalizationContext : FormatStyleCapitalizationContext
The capitalization context to use when formatting the relative dates.
var locale: Locale
The locale to use when formatting the relative date.
func locale(Locale) -> Date.RelativeFormatStyle
Modifies the relative date format style to use the specified locale.