Project

General

Profile

feature request #6920

[DISCUSS] use ZonedDateTime (java8) instead of joda time

Added by Katja Luther about 2 years ago. Updated about 2 years ago.

Status:
New
Priority:
Priority14
Assignee:
Category:
cdmlib
Target version:
Start date:
08/22/2017
Due date:
% Done:

0%

Severity:
normal

Description

in java8 there is a new time framework (java.time.*) it is inspired by the joda framework.


Related issues

Related to Edit - bug #6860: Use consistent calendar system for date picker Closed 07/31/2017

History

#2 Updated by Katja Luther about 2 years ago

The only thing that I found, which is not supported is to have a partial date without a year and a day without a month.

The class partial is not available in java.time.* it is possible to get a date without month and day or a date with only year and month (by using the classes Year or YearMonth)

#3 Updated by Andreas Müller about 2 years ago

  • Related to bug #6860: Use consistent calendar system for date picker added

#4 Updated by Andreas Müller about 2 years ago

Is this still an open issue? I think we decided not to move to java.time.* for now, but this was more because there are many dependencies to joda-time and we might not have the time to change them all at the moment.

It was not a decision because we think joda-timer is necessarily better in terms of our requirements. However, if we consider to move to java.time.* in future we need to check the missing "partial" issue.
We definitely need something to represent e.g. seasons like "Apr.-Sep." or "Mar 15th to Sep 15th".
This may be missing in java.time.*.

Should we close this ticket as Wontfix?

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)