Bases: flatland.schema.scalars.Scalar
Base for datetime-based date and time fields.
Coerces value to a native type.
If value is an instance of type_, returns it unchanged. If a string, attempts to parse it and construct a type as described in the attribute documentation.
Serializes value to string.
If value is an instance of type, formats it as described in the attribute documentation. Otherwise returns unicode(value).
Bases: flatland.schema.scalars.Temporal
Element type for Python datetime.datetime.
Serializes to and from YYYY-MM-DD HH:MM:SS format.
Bases: flatland.schema.scalars.Temporal
Element type for Python datetime.date.
Serializes to and from YYYY-MM-DD format.
Bases: flatland.schema.scalars.Temporal
Element type for Python datetime.time.
Serializes to and from HH:MM:SS format.