Ji Liu created ARROW-5967:
-----------------------------

             Summary: [Java] DateUtility#timeZoneList is not correct
                 Key: ARROW-5967
                 URL: https://issues.apache.org/jira/browse/ARROW-5967
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Ji Liu
            Assignee: Ji Liu


Now {{timeZoneList}} in {{DateUtility}} belongs to Joda time.

Since we have replace Joda time with Java time in ARROW-2015, this should also 
be changed.

{{TimeStampXXTZVectors}} have a timezone member which seems not used now and 
its {{getObject}} returns Long(different with that in {{TimeStampXXVectors}} 
which returns {{LocalDateTime}}), should it return {{LocalDateTime}} with its 
timezone?

Is it reasonable if we do as follows:
 # replace Joda {{timezoneList}} with Java {{timezoneList}} in {{DateUtility}}
 # add method like {{getLocalDateTimeFromEpochMilli(long epochMillis, String 
timezone)}} in DateUtility
 # Not sure make {{TimeStampXXTZVectors}} return {{LocalDateTime}}?

cc [~emkornfi...@gmail.com]  [~bryanc]  [~siddteotia]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to