public class TimeStampInput extends AbstractDateInput implements HTML5Input
DEFAULT_MAX_DATE
validators
USE_DATE_INPUT
Constructor and Description |
---|
TimeStampInput() |
TimeStampInput(long resolution) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(InputVisitor<R> vis) |
java.lang.String[] |
getFormats() |
protected int |
getHintIndex()
Which of the available formats in
AbstractDateInput.getFormats()
should be used as the hint text. |
java.lang.String |
getType()
get the type tag to emit for
the corresponding html5 type.
|
convert, formatRange, getDateFormat, getFormatHint, getMax, getMin, getString, parseValue, setMax, setMin
getBoxWidth, getMaxResultLength, getSingle, setBoxWidth, setMaxResultLength, setSingle
getValue, setKey, setValue
addValidator, getKey, getPrettyString, getString, removeValidator, validate, validateInner
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance, getInstance
getString, parse
addValidator, getKey, getPrettyString, getValue, isEmpty, removeValidator, setKey, setValue, validate
public TimeStampInput(long resolution)
public TimeStampInput()
protected int getHintIndex()
AbstractDateInput
AbstractDateInput.getFormats()
should be used as the hint text.getHintIndex
in class AbstractDateInput
public java.lang.String[] getFormats()
getFormats
in class AbstractDateInput
public java.lang.String getType()
HTML5Input
getType
in interface HTML5Input
getType
in class AbstractDateInput
public <R> R accept(InputVisitor<R> vis) throws java.lang.Exception
accept
in interface Input<java.util.Date>
accept
in class ParseAbstractInput<java.util.Date>
java.lang.Exception