Instance Property

calendar

The calendar to use for the date picker.

Declaration

@property(nonatomic, copy) NSCalendar *calendar;

Discussion

The default value of this property corresponds to the user’s current calendar as configured in Settings. This is equivalent to the value returned by calling the NSCalendar class method currentCalendar. Setting this property to nil is equivalent to setting it to its default value.

Calendars specify the details of cultural systems used for reckoning time; they identify the beginning, length, and divisions of a year.

See Also

Managing the Date and Calendar

date

The date displayed by the date picker.

locale

The locale used by the date picker.

- setDate:animated:

Sets the date to display in the date picker, with an option to animate the setting.

timeZone

The time zone reflected in the date displayed by the date picker.