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.PropertyEditor
setAsText
在类中 java.beans.PropertyEditorSupport
java.lang.IllegalArgumentException
public java.lang.String getAsText()
getAsText
在接口中 java.beans.PropertyEditor
getAsText
在类中 java.beans.PropertyEditorSupport