Package org.kuali.rice.krad.web.bind
Class UifTimestampEditor
java.lang.Object
java.beans.PropertyEditorSupport
org.kuali.rice.krad.web.bind.UifDateEditor
org.kuali.rice.krad.web.bind.UifTimestampEditor
- All Implemented Interfaces:
PropertyEditor,Serializable
PropertyEditor converts between date display strings and
java.sql.Timestamp objects using the
org.kuali.rice.core.api.datetime.DateTimeService- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis overridden method uses theorg.kuali.rice.core.api.datetime.DateTimeServiceto convert the time stamp object to the display string.voidThis overridden method converts the display string to ajava.sql.Timestampobject using theorg.kuali.rice.core.api.datetime.DateTimeService.Methods inherited from class org.kuali.rice.krad.web.bind.UifDateEditor
convertToObject, getDateTimeService, verbatimYearMethods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
UifTimestampEditor
public UifTimestampEditor()
-
-
Method Details
-
getAsText
This overridden method uses theorg.kuali.rice.core.api.datetime.DateTimeServiceto convert the time stamp object to the display string.- Specified by:
getAsTextin interfacePropertyEditor- Overrides:
getAsTextin classUifDateEditor- See Also:
-
setAsText
This overridden method converts the display string to ajava.sql.Timestampobject using theorg.kuali.rice.core.api.datetime.DateTimeService.- Specified by:
setAsTextin interfacePropertyEditor- Overrides:
setAsTextin classUifDateEditor- Throws:
IllegalArgumentException- See Also:
-