public class TimeZoneConverter extends Object implements javax.faces.convert.Converter
Converts a time zone id literal string into the
TimeZone and back to a string.
| Constructor and Description |
|---|
TimeZoneConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAsObject(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String value)
Converts the string zone ID into a TimeZone object.
|
String |
getAsString(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
Object value)
Converts a TimeZone object into the string zone id.
|
public Object getAsObject(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, String value)
Converts the string zone ID into a TimeZone object.
getAsObject in interface javax.faces.convert.ConverterfacesContext - jsf faces contextcomponent - converter assignedvalue - to be converterdpublic String getAsString(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, Object value)
Converts a TimeZone object into the string zone id.
getAsString in interface javax.faces.convert.ConverterfacesContext - jsf faces contextcomponent - converter assignedvalue - to be converterdCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.