Project

General

Profile

feature request #9071

Implement formatter for TimePeriod, VerbatimTimePeriod and ExtendedTimePeriod

Added by Andreas Müller 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
New
Assignee:
Category:
cdmlib
Target version:
Start date:
06/16/2020
Due date:
% Done:

50%

Severity:
normal

Description

copied from #8990

picture824-1.png View (3.93 KB) Katja Luther, 07/01/2020 11:12 AM


Related issues

Copied from Edit - feature request #8990: Implement flowering periods (temporal facts) in TaxEditor Closed 04/30/2020

Associated revisions

Revision bf3b1132 (diff)
Added by Andreas Müller 3 months ago

ref #9071, ref #6276 Change TimePeriodFormatting to YYYY-MMM-DD

Revision d6eec685 (diff)
Added by Andreas Müller 3 months ago

ref #9071 use new partial formatting also in ExtendedTimePeriodPartialFormatter

Revision ce666ef3 (diff)
Added by Andreas Müller 3 months ago

ref #9071, ref #6276 fix order of TimePeriodFormatting to DD MMM YYYY

Revision fddcac5e (diff)
Added by Andreas Müller 3 months ago

ref #9071, ref #6276 fix order of TimePeriodFormatting to DD MMM YYYY (cont.)

Revision ffd7b090 (diff)
Added by Andreas Müller 3 months ago

ref #9071 use getTimePeriod instead of ExtendedTimePeriodPartialFormatter

Revision 6876aa51 (diff)
Added by Andreas Müller 3 months ago

ref #9071 remove ExtendedTimePeriodPartialFormatter which is no longer needed

  • ExtendedTimePeriod.toString() should be enough

Revision 62661acc (diff)
Added by Andreas Müller 3 months ago

ref #9071 use toString() instead of getTimePeriod()

Revision def46519 (diff)
Added by Andreas Müller 3 months ago

ref #9071, ref #6276 improve TimePeriod parsing for periods with shared year or month and some other

Revision 8fe64a0b (diff)
Added by Andreas Müller 3 months ago

ref #9071, ref #6276 improve TimePeriod parsing with continued

Revision 6d7ea74e (diff)
Added by Andreas Müller 3 months ago

ref #9071 create TimePeriodFormatter and ExtendedTimePeriodFormatter and move toString methods

Revision d846e295 (diff)
Added by Andreas Müller 3 months ago

ref #9071 add additional ExtendedTimePeriodFormatter test

Revision dea49164 (diff)
Added by Andreas Müller 3 months ago

ref #9071 add formatter in ExtendedTimePeriod.toString

Revision 3ee87683 (diff)
Added by Andreas Müller 3 months ago

ref #9071 add formatter for VerbatimTimePeriod

Revision b93b6f69 (diff)
Added by Andreas Müller 3 months ago

ref #9071 use ExtendedTimePeriodFormatter in DescriptionHelper and improve formatting for CategoricalData

Revision 287b0222 (diff)
Added by Andreas Müller 3 months ago

ref #9071 update MANIFEST.MF to include format.common package

Revision 4b24820e (diff)
Added by Andreas Müller 3 months ago

ref #9071 improve with-month-name period parsing

Revision 2327c759 (diff)
Added by Andreas Müller 3 months ago

fix #9071 fix incorrect formatting for empty but not null partials

Revision 20de2ce5 (diff)
Added by Andreas Müller 3 months ago

ref #9071 add test for equal months to ExtendedTimePeriodFormatterTest

History

#1 Updated by Andreas Müller 3 months ago

#2 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.15 to Release 5.18

#3 Updated by Andreas Müller 3 months ago

  • Subject changed from Implement an improved formatter for ExtendedTimePeriod to Implement formatter for TimePeriod, VerbatimTimePeriod and ExtendedTimePeriod
  • Status changed from New to Resolved
  • Assignee changed from Andreas Müller to Katja Luther
  • % Done changed from 0 to 50

An ExtendedTimePeriodFormatter exists now. Details might be improved in future.
I implemented formatters for all 3 TimePeriod classes so I changed the subject of this ticket.

Please review.

#4 Updated by Andreas Müller 3 months ago

  • Target version changed from Release 5.18 to Release 5.16

#5 Updated by Katja Luther 3 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Katja Luther to Andreas Müller

#6 Updated by Katja Luther 3 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Müller to Katja Luther

#7 Updated by Katja Luther 3 months ago

when deleting the end year (and no month and day was entered) a second "-" respectively a m-dash appears in the formated string

picture824-1.png

#8 Updated by Katja Luther 3 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Katja Luther to Andreas Müller

#9 Updated by Andreas Müller 3 months ago

  • Status changed from Feedback to Resolved

#10 Updated by Andreas Müller 3 months ago

  • Assignee changed from Andreas Müller to Katja Luther

This should be fixed now. Please review.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)