Revision 3a1cd9fb
Added by Andreas Müller about 11 years ago
cdmlib-io/src/main/java/eu/etaxonomy/cdm/io/excel/common/ExcelImporterBase.java | ||
---|---|---|
23 | 23 |
import eu.etaxonomy.cdm.io.common.CdmImportBase; |
24 | 24 |
import eu.etaxonomy.cdm.model.common.TimePeriod; |
25 | 25 |
import eu.etaxonomy.cdm.model.name.NomenclaturalCode; |
26 |
import eu.etaxonomy.cdm.strategy.parser.TimePeriodParser; |
|
26 | 27 |
|
27 | 28 |
/** |
28 | 29 |
* @author a.babadshanjan |
... | ... | |
184 | 185 |
*/ |
185 | 186 |
protected TimePeriod getTimePeriod(String start, String end) { |
186 | 187 |
String strPeriod = CdmUtils.concat(" - ", start, end); |
187 |
TimePeriod result = TimePeriod.parseString(strPeriod); |
|
188 |
TimePeriod result = TimePeriodParser.parseString(strPeriod);
|
|
188 | 189 |
return result; |
189 | 190 |
} |
190 | 191 |
|
Also available in: Unified diff
devided TimePeriod and TimePeriodParser #3617