public abstract class AbstractDateSearchField extends RangeSearchField
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
containsTime |
static String |
copyright |
protected String |
datePattern |
protected DateTimeFormatter |
dateTimeFormatter |
protected static org.slf4j.Logger |
logger |
MAX_SUFFIX, maxId, maxInputName, maxLength, maxStringValue, maxValue, MIN_SUFFIX, minId, minInputName, minStringValue, minValue, NULL_VALUE, searchNullValue, sizeaccessor, ATTR_NAME_HTML_CLASS, FORM_CONTROL_CSS_CLASS, id, inputName, label, required| Constructor and Description |
|---|
AbstractDateSearchField(PropertyAccessor accessor) |
AbstractDateSearchField(PropertyAccessor accessor,
String prefix) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatePattern() |
DateTimeFormatter |
getDateTimeFormatter() |
boolean |
isContainsTime() |
void |
rangeEndToXhtml(XhtmlBuffer xb,
String id,
String inputName,
String stringValue,
String label) |
protected Object |
readValue(String stringValue,
Class type) |
void |
setContainsTime(boolean containsTime) |
void |
setDatePattern(String datePattern) |
void |
setDateTimeFormatter(DateTimeFormatter dateTimeFormatter) |
protected abstract Object |
toDate(DateTime dateTime) |
configureCriteria, getMaxId, getMaxInputName, getMaxLength, getMaxStringValue, getMaxValue, getMinId, getMinInputName, getMinStringValue, getMinValue, getSize, isGreaterThan, isSearchNullValue, readFromRequest, setMaxId, setMaxInputName, setMaxLength, setMaxStringValue, setMaxValue, setMinId, setMinInputName, setMinStringValue, setMinValue, setSearchNullValue, setSize, toSearchString, toXhtml, validateappendToSearchString, getId, getInputName, getLabel, getPropertyAccessor, getText, readFromObject, setId, setInputName, setLabel, writeToObjectpublic static final String copyright
protected String datePattern
protected DateTimeFormatter dateTimeFormatter
protected boolean containsTime
protected static final org.slf4j.Logger logger
public AbstractDateSearchField(PropertyAccessor accessor)
public AbstractDateSearchField(PropertyAccessor accessor, String prefix)
public void rangeEndToXhtml(XhtmlBuffer xb, String id, String inputName, String stringValue, String label)
rangeEndToXhtml in class RangeSearchFieldprotected Object readValue(String stringValue, Class type)
readValue in class RangeSearchFieldpublic String getDatePattern()
public void setDatePattern(String datePattern)
public DateTimeFormatter getDateTimeFormatter()
public void setDateTimeFormatter(DateTimeFormatter dateTimeFormatter)
public boolean isContainsTime()
public void setContainsTime(boolean containsTime)