Klasse LegacyDurationParser
java.lang.Object
de.delinkedde.areashopreborn.importer.legacy.LegacyDurationParser
Conservatively converts unambiguous legacy AreaShop duration values.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
LegacyDurationParser
public LegacyDurationParser()Creates a stateless duration parser.
-
-
Methodendetails
-
parse
Parses numeric legacy minutes, ISO-8601, or an explicit supported unit.- Parameter:
raw- stored legacy scalar- Gibt zurück:
- positive duration of at least one minute
- Löst aus:
LegacyImportException- when the syntax or unit is ambiguous
-