DateFormatter
public extension DateFormatter
-
Returns a
DateFormatter
that handles all of the provideddateStrings
, ornil
if a formatter could not be found.Declaration
Swift
static func formatter(dateStrings: [String]) throws -> DateFormatter