Instance Property

timeStyle

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

Declaration

@property NSDateIntervalFormatterStyle timeStyle;

Discussion

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

See Also

Configuring the Formatter Options

dateStyle

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

dateTemplate

The template for formatting one date and time value.

calendar

The calendar to use for date values.

locale

The locale to use when formatting date and time values.

timeZone

The time zone with which to specify time values.