org.jboss.seam.international.examples.timeanddate.converters
Class JdkDateTimeZoneToStringDateConverter

java.lang.Object
  extended by org.jboss.seam.international.examples.timeanddate.converters.JdkDateTimeZoneToStringDateConverter
All Implemented Interfaces:
javax.faces.convert.Converter

public class JdkDateTimeZoneToStringDateConverter
extends Object
implements javax.faces.convert.Converter

Converter used to convert a java.util.TimeZone to a formatted date

Author:
jose.freitas

Constructor Summary
JdkDateTimeZoneToStringDateConverter()
           
 
Method Summary
 Object getAsObject(javax.faces.context.FacesContext facesComponent, javax.faces.component.UIComponent uiComponent, String value)
           
 String getAsString(javax.faces.context.FacesContext facesComponent, javax.faces.component.UIComponent uiComponent, Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdkDateTimeZoneToStringDateConverter

public JdkDateTimeZoneToStringDateConverter()
Method Detail

getAsObject

public Object getAsObject(javax.faces.context.FacesContext facesComponent,
                          javax.faces.component.UIComponent uiComponent,
                          String value)
Specified by:
getAsObject in interface javax.faces.convert.Converter

getAsString

public String getAsString(javax.faces.context.FacesContext facesComponent,
                          javax.faces.component.UIComponent uiComponent,
                          Object object)
Specified by:
getAsString in interface javax.faces.convert.Converter


Copyright © 2009-2011 Seam Framework. All Rights Reserved.