Refactored the ADateTime type:
- Added a new interface for calendar system;
- Added an implementation of the calendar system for the gregorian calendar system;
- Re-implemented the ADateTime type using a millisecond-based internal representation, which fixes issue 107;
- Implemented the comparison between ADateTime values based on the internal millisecond-based representation, so the comparison is processed between two long integers (Int64 eliminates the YEAR2038 problem). This fixes issue 106;
- ADateTime now is ISO8601-compatible;
- Updated test AQLs and their answers to have ISO8601-compatible representation of ADateTime values.
TODO:
- New issue: ADate and ATime should be updated to be ISO8601-compatible;
- More test cases.
git-svn-id: https://asterixdb.googlecode.com/svn/branches/asterix_stabilization_temporal_fixes@247 eaa15691-b419-025a-1212-ee371bd00084
16 files changed