DatabaseDateComponents

DatabaseDateComponents reads and stores DateComponents in the database.

  • The available formats for reading and storing date components.

    See more

NSDateComponents conversion

StatementColumnConvertible adoption

DatabaseValueConvertible adoption

Codable adoption

  • Creates a new instance by decoding from the given decoder.

  • Encodes this value into the given encoder.