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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software