init()
Initializes an ISO 8601 date formatter with default format, time zone, and options.
Declaration
init()Discussion
By default, a formatter is initialized to use the GMT time zone, the RFC 3339 standard format ("yyyy-MM-dd'T'HH:mm:ssZZZZZ"), and the following options: withInternetDateTime, withDashSeparatorInDate, withColonSeparatorInTime, and withTimeZone.
This is the designated initializer.