[ 
https://issues.apache.org/jira/browse/PIVOT-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16215542#comment-16215542
 ] 

Roger Whitcomb commented on PIVOT-1010:
---------------------------------------

First set of changes:  add basic support for LocalDate and LocalTime:

Sending        core\src\org\apache\pivot\util\CalendarDate.java
Sending        core\src\org\apache\pivot\util\Time.java
Adding         core\test\org\apache\pivot\util\test\CalendarDateTest.java
Sending        core\test\org\apache\pivot\util\test\TimeTest.java
Transmitting file data ....done
Committing transaction...
Committed revision 1813048.


> Update CalendarDate and Time classes to interact with new java.time classes
> ---------------------------------------------------------------------------
>
>                 Key: PIVOT-1010
>                 URL: https://issues.apache.org/jira/browse/PIVOT-1010
>             Project: Pivot
>          Issue Type: Improvement
>          Components: core-util
>    Affects Versions: 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: datetime
>             Fix For: 2.1
>
>
> In Java 8 there are new classes in the "java.time" package that are much 
> better and easier to use than some of the old date/time classes.  Now, our 
> CalendarDate and Time classes are reasonably good, and using 
> GregorianCalendar is still robust, but it would make sense (at least) to be 
> able to construct instances of our classes from LocalDate, LocalTime and 
> LocalDateTime, and to construct instances of these new classes from our 
> classes to facilitate interaction with new applications using these Java 8 
> features.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to