@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, wait
toString
public static DurationStringConverter create()
public EnhancedType<Duration> type()
StringConverter
type
in interface StringConverter<Duration>
public Duration fromString(String string)
StringConverter
fromString
in interface StringConverter<Duration>
Copyright © 2022. All rights reserved.