pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-1010) Update CalendarDate and Time classes to interact with new java.time classes
Date Mon, 23 Oct 2017 15:41:00 GMT

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

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

This is also a Java 8 feature update, related to PIVOT-999 which deals with other aspects
of Java 8 usage.

> 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)

Mime
View raw message