public class TimeZoneEditor
extends java.beans.PropertyEditorSupport
java.util.TimeZone
, translating timezone IDs into
TimeZone objects. Does not expose a text representation for TimeZone objects.TimeZone
Constructor and Description |
---|
TimeZoneEditor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsText()
This implementation returns
null to indicate that
there is no appropriate text representation. |
void |
setAsText(java.lang.String text) |
public void setAsText(java.lang.String text) throws java.lang.IllegalArgumentException
setAsText
in interface java.beans.PropertyEditor
setAsText
in class java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
null
to indicate that
there is no appropriate text representation.getAsText
in interface java.beans.PropertyEditor
getAsText
in class java.beans.PropertyEditorSupport