Class TimeoutConverter
java.lang.Object
com.peterphi.std.guice.common.stringparsing.TimeoutConverter
Interprets a number of milliseconds as a Timeout
Supports the following string representations:
Supports the following string representations:
ISO-8601 Duration
- ### - treated as milliseconds
- ###(d|h|m|s|ms) (days, hours, minutes, seconds, milliseconds)
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TimeoutConverter
public TimeoutConverter()
-
-
Method Details
-
convert
-
doConvert
-