Instance Property

calendar

The calendar to use for date values.

Declaration

@property(copy) NSCalendar *calendar;

Discussion

The default value of this property is the calendar associated with the current locale object. You can change this value to use a different calendar for interpreting dates.

See Also

Configuring the Formatter Options

dateStyle

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

timeStyle

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

dateTemplate

The template for formatting one date and time value.

locale

The locale to use when formatting date and time values.

timeZone

The time zone with which to specify time values.