DateFormatCoder
extension DateFormatCoder
-
decode Date using DateFormatter
Declaration
Swift
public static func decode(from decoder: Decoder) throws -> CodableValue
-
encode Date using DateFormatter
Declaration
Swift
public static func encode(value: CodableValue, to encoder: Encoder) throws
-
Declaration
Swift
public static func string(from value: Date) -> String?