DateEncodingFormat
public enum DateEncodingFormat
The DateEncodingFormat enumeration defines the supported formats for persisiting properties of type Date
.
-
time - Corresponds to the
time
column typeDeclaration
Swift
case time
-
date - Corresponds to the
date
column typeDeclaration
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