Class DurationParser.Default
java.lang.Object
one.microstream.configuration.types.DurationParser.Default
- All Implemented Interfaces:
DurationParser
- Enclosing interface:
- DurationParser
public static class DurationParser.Default extends Object implements DurationParser
-
Nested Class Summary
Nested classes/interfaces inherited from interface one.microstream.configuration.types.DurationParser
DurationParser.Default
-
Method Summary
-
Method Details
-
parse
Description copied from interface:DurationParser
Tries to parse aDuration
out oftext
. It usually consists of an amount and an unit, e.g."1S"
or the ISO format, as described hereDuration.parse(CharSequence)
.- Specified by:
parse
in interfaceDurationParser
- Parameters:
text
- the textual input- Returns:
- the parsed
Duration
- See Also:
DurationUnit
-