org.jboss.seam.international.examples.timeanddate.converters
Class JodaDateTimeToStringDateConverter
java.lang.Object
org.jboss.seam.international.examples.timeanddate.converters.JodaDateTimeToStringDateConverter
- All Implemented Interfaces:
- javax.faces.convert.Converter
public class JodaDateTimeToStringDateConverter
- extends Object
- implements javax.faces.convert.Converter
Converter used to convert a Joda DateTime to a formatted date
- Author:
- jose.freitas
|
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 |
JodaDateTimeToStringDateConverter
public JodaDateTimeToStringDateConverter()
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.