Project

General

Profile

feature request #7888

TypeSpecimenEditor: Collection date should be timespan

Added by Wolf-Henning Kusber 10 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Highest
Category:
cdm-vaadin
Target version:
Start date:
11/06/2018
Due date:
% Done:

100%

Severity:
normal
Tags:

Description

There is an uncertainty in many old and new publications, for example only mm.yyyy or Autumn YY given, this can be handled easyly by a time span.

Currently no data are entered, if they are not precise.

Associated revisions

Revision 6fa4d604 (diff)
Added by Andreas Kohlbecker 10 months ago

fix #7888 using EventBase.timespan for collection date

History

#1 Updated by Wolf-Henning Kusber 10 months ago

Collection geo reference: uncertainty already solved

#2 Updated by Andreas Kohlbecker 10 months ago

  • Subject changed from PhycoBank TypeSpecimen Editor Usability to TypeSpecimenEditor: Collection date should be timespan
  • Description updated (diff)

#3 Updated by Andreas Kohlbecker 10 months ago

  • Priority changed from New to Highest
  • Target version changed from Unassigned CDM tickets to Release 5.5

In the GatheringEvent the gatheringDate setter and getters only operate with Partials but the gatheringDate value is transformed into a timeperiod which is stored in the base class EventBase:

public void setGatheringDate(Partial gatheringDate){
    this.setTimeperiod(TimePeriod.NewInstance(gatheringDate));
}

public void setGatheringDate(Calendar gatheringDate){
    this.setTimeperiod(TimePeriod.NewInstance(gatheringDate));
}

It would make sense to allow using timeperiod for gatheringDate in general.

For the TypeSpecimenEditor we will use the timeperiod field instead of gatheringDate

#4 Updated by Andreas Kohlbecker 10 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#5 Updated by Andreas Kohlbecker 10 months ago

  • Assignee changed from Andreas Kohlbecker to Wolf-Henning Kusber

please review

#6 Updated by Wolf-Henning Kusber 7 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Wolf-Henning Kusber to Andreas Kohlbecker
  • % Done changed from 50 to 100

Time span implemented as wished.

The data format might be reformated
Currently (German style): 1.1.2000-2.2.2010
This would be a different ticket.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)