public class JodaTimeField extends AbstractDateField<DateTime>
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
containsTime, dateFormatError, datePattern, dateTimeFormatter, dateValue
autoCapitalize, labelPlaceholder, maxLength, replaceBadUnicodeCharacters, size, stringValue
accessor, bulkCheckboxName, bulkChecked, colSpan, COPYRIGHT, EDITABLE_FIELD_CSS_CLASS, elementsConfiguration, enabled, errors, fieldCssClass, forceNewRow, FORM_LABEL_CSS_CLASS, help, href, id, INPUT_CONTAINER_CSS_CLASS, inputName, insertable, label, logger, mode, required, STATIC_VALUE_CSS_CLASS, title, updatable
Constructor and Description |
---|
JodaTimeField(PropertyAccessor accessor,
Mode mode) |
JodaTimeField(PropertyAccessor accessor,
Mode mode,
String prefix) |
Modifier and Type | Method and Description |
---|---|
protected DateTime |
fromDate(DateTime dateValue) |
protected DateTime |
toDate(DateTime dateTime) |
protected DateTime |
toDate(Number millisSince1970) |
getDatePattern, getDateTimeFormatter, getValue, maybeConvertValue, readFrom, readFromObject, readFromRequest, setDateTimeFormatter, setStringValue, setValue, updateStringValue, validate, valueToXhtmlEdit, writeToObject
getMaxLength, getSize, getStringValue, isAutoCapitalize, isLabelPlaceholder, isReplaceBadUnicodeCharacters, labelToXhtml, setAutoCapitalize, setLabelPlaceholder, setMaxLength, setReplaceBadUnicodeCharacters, setSize, valueToXhtml, valueToXhtmlPreview, valueToXhtmlView
closeVisibleField, errorsToXhtml, getColSpan, getDisplayValue, getErrors, getFieldCssClass, getHelp, getHref, getId, getInputName, getLabel, getMode, getPropertyAccessor, getText, getTitle, hasRequiredFields, helpToXhtml, isBlank, isEnabled, isForceNewRow, isInsertable, isReadOnly, isRequired, isUpdatable, isValid, openVisibleField, setColSpan, setEnabled, setErrors, setFieldCssClass, setForceNewRow, setHelp, setHref, setId, setInputName, setInsertable, setLabel, setRequired, setTitle, setUpdatable, toXhtml, writeTo, writeToObject, writeToObject
public static final String copyright
public JodaTimeField(PropertyAccessor accessor, Mode mode)
public JodaTimeField(PropertyAccessor accessor, Mode mode, String prefix)
protected DateTime toDate(@NotNull Number millisSince1970)
toDate
in class AbstractDateField<DateTime>
protected DateTime toDate(@NotNull DateTime dateTime)
toDate
in class AbstractDateField<DateTime>
protected DateTime fromDate(@NotNull DateTime dateValue)
fromDate
in class AbstractDateField<DateTime>