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