DateEncodingFormat

public enum DateEncodingFormat

The DateEncodingFormat enumeration defines the supported formats for persisiting properties of type Date.

  • time - Corresponds to the time column type

    Declaration

    Swift

    case time
  • date - Corresponds to the date column type

    Declaration

    Swift

    case date
  • timestamp - Corresponds to the timestamp column type.

    Declaration

    Swift

    case timestamp
  • double - This is the default encoding type and corresponds to Swifts encoding of Date.

    Declaration

    Swift

    case double