public class FormattedTimeConverter extends Object implements Converter, Serializable
IGNORED_VALUE| Constructor and Description |
|---|
FormattedTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
coerceToBean(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert String to Date.
|
Object |
coerceToUi(Object val,
org.zkoss.zk.ui.Component comp,
BindContext ctx)
Convert Date to String.
|
public Object coerceToUi(Object val, org.zkoss.zk.ui.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 Object coerceToBean(Object val, org.zkoss.zk.ui.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 © 2020. All rights reserved.