Project

General

Profile

Actions

feature request #6920

open

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

Added by Katja Luther over 6 years ago. Updated over 6 years ago.

Status:
New
Priority:
Priority14
Assignee:
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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 pickerClosedKatja Luther

Actions
Actions #2

Updated by Katja Luther over 6 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)

Actions #3

Updated by Andreas Müller over 6 years ago

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

Updated by Andreas Müller over 6 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?

Actions

Also available in: Atom PDF