Instance Property

generatesCalendarDates

Indicates whether the formatter generates the deprecated calendar date type.

Declaration

var generatesCalendarDates: Bool { get set }

Discussion

This property is true if the formatter generates the deprecated NSCalendarDate type, and is false otherwise. You should use Date and Calendar rather than NSCalendarDate.