public class ISO8601DateEditor extends PropertyEditorSupport
Constructor and Description |
---|
ISO8601DateEditor() |
Modifier and Type | Method and Description |
---|---|
String |
getAsText() |
boolean |
isPaintable()
No, we don't do GUIs.
|
void |
setAsText(String text) |
static Date |
stringToDate(String text) |
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
public String getAsText()
getAsText
in interface PropertyEditor
getAsText
in class PropertyEditorSupport
public void setAsText(String text) throws IllegalArgumentException
setAsText
in interface PropertyEditor
setAsText
in class PropertyEditorSupport
IllegalArgumentException
public boolean isPaintable()
isPaintable
in interface PropertyEditor
isPaintable
in class PropertyEditorSupport
public static Date stringToDate(String text) throws IllegalArgumentException, UnsupportedOperationException
Copyright © 2021. All rights reserved.