public class OffsetTimeConverter extends AbstractBaseConverter<OffsetTime>
String into a OffsetTime.
For a description of the format, see OffsetTime.parse(CharSequence).
Example:
@Parameter(names = { "--offsetTime" }, converter = OffsetTimeConverter.class)
private OffsetTime offsetTime;
OffsetTime,
OffsetTime.parse(CharSequence)failOnNull, targetClass| Constructor and Description |
|---|
OffsetTimeConverter(String optionName)
Constructs a converter.
|
| Modifier and Type | Method and Description |
|---|---|
protected OffsetTime |
convertImpl(String value)
Converts a value.
|
convert, getErrorString, isSingle, newParameterException, newParameterException, split, toInt, toURIpublic OffsetTimeConverter(String optionName)
optionName - The option name, may be null.protected OffsetTime convertImpl(String value)
AbstractBaseConverterconvertImpl in class AbstractBaseConverter<OffsetTime>value - the value to convertCopyright © 2016-2016 Gary Gregory. All Rights Reserved.
Use is subject to The Apache Software License, Version 2.0