Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      Date types are need to build out all the XQuery functions and Operators. Three data types are needed with respect to time: Date, DateTime, and Time. Each one is basically a single number can be converted into an ISO8601 format.

      Date (number of days) int
      http://code.google.com/p/asterixdb/source/browse/branches/asterix_stabilization_temporal_fixes/asterix-om/src/main/java/edu/uci/ics/asterix/om/base/ADate.java?r=338

      DateTime (number of seconds since 1970) long
      http://code.google.com/p/asterixdb/source/browse/branches/asterix_stabilization_temporal_fixes/asterix-om/src/main/java/edu/uci/ics/asterix/om/base/ADateTime.java?r=338

      Time (number of milliseconds) int
      http://code.google.com/p/asterixdb/source/browse/branches/asterix_stabilization_temporal_fixes/asterix-om/src/main/java/edu/uci/ics/asterix/om/base/ATime.java?r=338

      The links are for a project that saves the information in a similar manner.

      Attachments

        1. TimePointables3.patch
          17 kB
          Preston Carman
        2. TimePointables2.patch
          20 kB
          Preston Carman
        3. TimePointables-07-09.patch
          19 kB
          Preston Carman

        Issue Links

          Activity

            People

              prestonc Preston Carman
              prestonc Preston Carman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: