DateFormat

public enum DateFormat

Enum defining the JSON date formats supported by JSONCache

  • Indicates that dates in JSON data are represented as ISO 8601 date strings with separators: 2000-08-22T13:28:00Z

    Declaration

    Swift

    case iso8601WithSeparators
  • Indicates that dates in JSON data are represented as ISO 8601 date strings without separators: 20000822T132800Z

    Declaration

    Swift

    case iso8601WithoutSeparators
  • Indicates that dates in JSON data are represented as double precision value containing the number of seconds since 00:00 on 1 Jan 1970.

    Declaration

    Swift

    case timeIntervalSince1970