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, setLineBreaksaddValidator, getKey, getString, removeValidator, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddValidator, getKey, removeValidator, validatepublic 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
Inputpublic void setStartDate(java.util.Date d)
public void setEndDate(java.util.Date d)
public Period getValue()
InputgetValue in interface Input<Period>getValue in class MultiInput<Period,TimeStampMultiInput>public Period setValue(Period v) throws TypeError
InputsetValue in interface Input<Period>setValue in class MultiInput<Period,TimeStampMultiInput>TypeErrorpublic void validateInner()
throws FieldException
BaseInputvalidateInner in class MultiInput<Period,TimeStampMultiInput>FieldException