Instance Property


The style to use when formatting hour, minute, and second information.


var timeStyle: DateIntervalFormatter.Style { get set }


Set this property to an appropriate value before generating string values. The default value of this property is DateIntervalFormatter.Style.none.

See Also

Configuring the Formatter Options

var dateStyle: DateIntervalFormatter.Style

The style to use when formatting day, month, and year information.

var dateTemplate: String!

The template for formatting one date and time value.

var calendar: Calendar!

The calendar to use for date values.

var locale: Locale!

The locale to use when formatting date and time values.

var timeZone: TimeZone!

The time zone with which to specify time values.