Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/parsers/WstParser.java @ 6730:c14e17dabf39 double-precision
merged changes from default into double-precision branch
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 31 Jul 2013 11:31:23 +0200 |
parents | 49dd3e478ccd af70e3ab2e83 |
children | 4ff177f48952 |
comparison
equal
deleted
inserted
replaced
6715:5da894daef32 | 6730:c14e17dabf39 |
---|---|
83 | 83 |
84 public void setWst(ImportWst wst) { | 84 public void setWst(ImportWst wst) { |
85 this.wst = wst; | 85 this.wst = wst; |
86 } | 86 } |
87 | 87 |
88 /** Returns a new ImportTimeInterval with a date guessed from string. */ | |
88 public static ImportTimeInterval guessDate(String string) { | 89 public static ImportTimeInterval guessDate(String string) { |
89 try { | 90 try { |
90 Matcher m = YEAR_INTERVAL.matcher(string); | 91 Matcher m = YEAR_INTERVAL.matcher(string); |
91 if (m.matches()) { | 92 if (m.matches()) { |
92 return new ImportTimeInterval( | 93 return new ImportTimeInterval( |