public class SimplePeriodInput extends MultiInput<Period,TimeStampMultiInput>
validators
Constructor and Description |
---|
SimplePeriodInput(java.util.Date now) |
SimplePeriodInput(java.util.Date now,
long res,
int finest_field) |
Modifier and Type | Method and Description |
---|---|
Period |
convert(java.lang.Object v)
Perform any supported type conversions to to generate a value of the
target type
|
Period |
getValue()
get the current value of the Object created by this selector.
|
void |
setEndDate(java.util.Date d) |
void |
setStartDate(java.util.Date d) |
Period |
setValue(Period v)
set the value of this selector.
|
void |
validateInner()
Extension point to add validation to sub-class specific inner-state
|
accept, addInput, addInput, containsInput, getInput, getInputs, getPrettyString, getString, getSubKeys, getSubLabel, hasLineBreaks, hasSubLabels, isEmpty, removeInput, requireAll, setKey, setLineBreaks
addValidator, getKey, getString, removeValidator, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addValidator, getKey, removeValidator, validate
public SimplePeriodInput(java.util.Date now)
public SimplePeriodInput(java.util.Date now, long res, int finest_field)
public Period convert(java.lang.Object v) throws TypeError
Input
public void setStartDate(java.util.Date d)
public void setEndDate(java.util.Date d)
public Period getValue()
Input
getValue
in interface Input<Period>
getValue
in class MultiInput<Period,TimeStampMultiInput>
public Period setValue(Period v) throws TypeError
Input
setValue
in interface Input<Period>
setValue
in class MultiInput<Period,TimeStampMultiInput>
TypeError
public void validateInner() throws FieldException
BaseInput
validateInner
in class MultiInput<Period,TimeStampMultiInput>
FieldException