2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.ui
.element
;
12 import eu
.etaxonomy
.cdm
.model
.common
.TimePeriod
;
13 import eu
.etaxonomy
.cdm
.strategy
.parser
.TimePeriodParser
;
17 * DateDetailSection class.
21 * @created Mar 31, 2010
23 public class DateDetailSection
extends DateDetailSectionBase
<TimePeriod
> {
25 protected DateDetailSection(CdmFormFactory formFactory
,
26 ICdmFormElement parentElement
, int style
) {
27 super(formFactory
, parentElement
, style
);
30 protected TimePeriod
newInstance(){
31 return TimePeriod
.NewInstance();
34 protected TimePeriod
parseNewInstance() {
35 TimePeriod result
= TimePeriodParser
.parseString(getText_parseText().getText());