public class DateEditor extends PropertyEditorSupport
Date.| 构造器和说明 |
|---|
DateEditor() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAsText()
Returns either the cached string date, or the stored
java.util.Date instance formated to string using the
last of the registered DateFormat(s)
|
static void |
initialize()
Setup the parsing formats.
|
void |
setAsText(String text)
Parse the text into a java.util.Date by trying
one by one the registered DateFormat(s).
|
void |
setValue(Object value)
Sets directly the java.util.Date value
|
public static void initialize()
public void setValue(Object value)
setValue 在接口中 PropertyEditorsetValue 在类中 PropertyEditorSupportvalue - a java.util.Datepublic void setAsText(String text)
setAsText 在接口中 PropertyEditorsetAsText 在类中 PropertyEditorSupporttext - the string datepublic String getAsText()
getAsText 在接口中 PropertyEditorgetAsText 在类中 PropertyEditorSupportCopyright © 2022. All rights reserved.