@ThreadSafe @Immutable public class DurationStringConverter extends Object implements StringConverter<Duration>
| Modifier and Type | Method and Description |
|---|---|
static DurationStringConverter |
create() |
Duration |
fromString(String string)
Convert the provided string into an object.
|
EnhancedType<Duration> |
type()
The type supported by this converter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoStringpublic static DurationStringConverter create()
public EnhancedType<Duration> type()
StringConvertertype in interface StringConverter<Duration>public Duration fromString(String string)
StringConverterfromString in interface StringConverter<Duration>Copyright © 2020. All rights reserved.