Instance Property

generatesCalendarDates

Indicates whether the formatter generates the deprecated calendar date type.

Declaration

@property BOOL generatesCalendarDates;

Discussion

This property is YES if the formatter generates the deprecated NSCalendarDate type, and is NO otherwise. You should use NSDate and NSCalendar rather than NSCalendarDate.

See Also

Deprecated

- initWithDateFormat:allowNaturalLanguage:

Initializes and returns an NSDateFormatter instance that uses the OS X 10.0 formatting behavior and the given date format string in its conversions.

Deprecated