Date
public extension Date
-
Create a
Dateinstance from a JSON value.Declaration
Swift
init(fromJSONValue value: Any)Parameters
valueThe JSON value from which to create a
Dateinstance. TheJSONCache.dateFormatsetting governs how the value is interpreted. -
Produce a JSON serializable value from this
Dateinstance. TheJSONCache.dateFormatsetting governs the type and format of the produced value.Declaration
Swift
func toJSONValue() -> AnyReturn Value
A JSON serializable value representing this
Dateinstance.
View on GitHub
Date Extension Reference