Revision 7f4db90c
Added by Andreas Müller almost 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/DateDetailSection.java | ||
---|---|---|
10 | 10 |
package eu.etaxonomy.taxeditor.ui.element; |
11 | 11 |
|
12 | 12 |
import eu.etaxonomy.cdm.model.common.TimePeriod; |
13 |
import eu.etaxonomy.cdm.strategy.parser.TimePeriodParser; |
|
13 | 14 |
|
14 | 15 |
/** |
15 | 16 |
* <p> |
... | ... | |
29 | 30 |
protected TimePeriod newInstance(){ |
30 | 31 |
return TimePeriod.NewInstance(); |
31 | 32 |
} |
33 |
|
|
34 |
protected TimePeriod parseNewInstance() { |
|
35 |
TimePeriod result = TimePeriodParser.parseString(getText_parseText().getText()); |
|
36 |
return result; |
|
37 |
} |
|
32 | 38 |
|
33 | 39 |
} |
Also available in: Unified diff
ref #7421 continue refactor verbatim date sections and elements