String
struct String
-
Extends
Stringto provide a function for parsing the receiver as an RFC 1123 date.Declaration
Swift
public func asDateRFC1123() -> Date?Return Value
A
Dateparsed from the receiver, ornilif the receiver did not contain a date string in the expected format. -
Extends
Stringto provide a function for parsing the receiver as an ISO 8601 date.Declaration
Swift
public func asDateISO8601() -> Date?Return Value
A
Dateparsed from the receiver, ornilif the receiver did not contain a date string in the expected format.
View on GitHub
String Extension Reference