AdaCore / gnatcoll-db

GNAT Components Collection – Database packages
Other
11 stars 22 forks source link

Generating Ada for “timestamp with/without time zone” and for “timestamp” #47

Open fdesp87 opened 2 years ago

fdesp87 commented 2 years ago

They are mapped to Ada Calendar Time, obtained in GNAT from the Operating System, which already included the time zone. The generate code does not deal with time zones. Also note that SQL ranges are larger than GNAT Time range (reported in a previous issue).

For more explanations, you can read the report https://github.com/fdesp87/gnatcoll-db/examples/mytests/Report.odt