public class FormatedDateConverter extends java.lang.Object implements Converter, java.io.Serializable
IGNORED_VALUE| Constructor and Description |
|---|
FormatedDateConverter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
Convert String to Date.
|
java.lang.Object |
coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
Convert Date to String.
|
public java.lang.Object coerceToUi(java.lang.Object val,
Component comp,
BindContext ctx)
coerceToUi in interface Converterval - date to be convertedcomp - associated componentctx - bind context for associate Binding and extra parameter (e.g. format)public java.lang.Object coerceToBean(java.lang.Object val,
Component comp,
BindContext ctx)
coerceToBean in interface Converterval - date in string formcomp - associated componentctx - bind context for associate Binding and extra parameter (e.g. format)Copyright © 2005-2011 Potix Corporation. All Rights Reserved.