Package com.guflimc.brick.i18n.api.time
Class DurationParser
java.lang.Object
com.guflimc.brick.i18n.api.time.DurationParser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Duration
Obtains aDurationParser
from a text string such as "2Y 4D 3h 17m 6s
".
-
Constructor Details
-
DurationParser
public DurationParser()
-
-
Method Details
-
parse
Obtains aDurationParser
from a text string such as "2Y 4D 3h 17m 6s
". This will parse a textual representation of aDurationParser
, including the string produced byObject.toString()
.
-