Module tiberius::time::chrono

source ·
Expand description

Mappings between TDS and and Chrono types (with chrono feature flag enabled).

The chrono library offers better ergonomy, but is known to hold certain security vulnerabilities. The code here is for legacy purposes, please use time crate for greenfield projects.

Structs

  • ISO 8601 combined date and time with time zone.
  • The time zone with fixed offset, from UTC-23:59:59 to UTC+23:59:59.
  • ISO 8601 calendar date without timezone. Allows for every proleptic Gregorian date from Jan 1, 262145 BCE to Dec 31, 262143 CE. Also supports the conversion from ISO 8601 ordinal and week date.
  • ISO 8601 combined date and time without timezone.
  • ISO 8601 time without timezone. Allows for the nanosecond precision and optional leap second representation.
  • The UTC time zone. This is the most efficient time zone when you don’t need the local time. It is also used as an offset (which is also a dummy type).