incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cezar Andrei <cezar.and...@gmail.com>
Subject Re: [jira] [Assigned] (VXQUERY-43) Date, DateTime, and Time Pointables
Date Wed, 25 Jul 2012 17:11:14 GMT
I'm afraid it's not that simple. Make sure you're using a proleptic
gregorian calendar and make sure that year 0 is invalid. Caution is
required when importing/exporting dates from other calendars especialy
before year 1582. See:
http://en.wikipedia.org/wiki/Gregorian_calendar#Proleptic_Gregorian_calendar

Cezar

On Wed, Jul 25, 2012 at 11:35 AM, Preston Carman (JIRA) <jira@apache.org>wrote:

>
>      [
> https://issues.apache.org/jira/browse/VXQUERY-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel]
>
> Preston Carman reassigned VXQUERY-43:
> -------------------------------------
>
>     Assignee: Preston Carman
>
> > Date, DateTime, and Time Pointables
> > -----------------------------------
> >
> >                 Key: VXQUERY-43
> >                 URL: https://issues.apache.org/jira/browse/VXQUERY-43
> >             Project: VXQuery
> >          Issue Type: Sub-task
> >            Reporter: Preston Carman
> >            Assignee: Preston Carman
> >         Attachments: TimePointables-07-09.patch, TimePointables2.patch,
> TimePointables3.patch
> >
> >
> > 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.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators:
> https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message