public class DateBinder
extends java.beans.PropertyEditorSupport
| 构造器和说明 |
|---|
DateBinder(boolean allowEmpty) |
DateBinder(boolean allowEmpty,
int exactDateLength) |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getAsText()
Format the Date as String, using the specified DateFormat.
|
void |
setAsText(java.lang.String text)
Parse the Date from the given text, using the specified DateFormat.
|
public DateBinder(boolean allowEmpty)
public DateBinder(boolean allowEmpty,
int exactDateLength)
public void setAsText(java.lang.String text)
throws java.lang.IllegalArgumentException
setAsText 在接口中 java.beans.PropertyEditorsetAsText 在类中 java.beans.PropertyEditorSupportjava.lang.IllegalArgumentExceptionpublic java.lang.String getAsText()
getAsText 在接口中 java.beans.PropertyEditorgetAsText 在类中 java.beans.PropertyEditorSupport