org.chorem.pollen.ui.actions
Class DateConverter

java.lang.Object
  extended by com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
      extended by org.apache.struts2.util.StrutsTypeConverter
          extended by org.chorem.pollen.ui.actions.DateConverter
All Implemented Interfaces:
com.opensymphony.xwork2.conversion.TypeConverter

public class DateConverter
extends org.apache.struts2.util.StrutsTypeConverter

Created: 18/04/12

Author:
fdesbois

Field Summary
 
Fields inherited from interface com.opensymphony.xwork2.conversion.TypeConverter
NO_CONVERSION_POSSIBLE, TYPE_CONVERTER_CONTEXT_KEY
 
Constructor Summary
DateConverter()
           
 
Method Summary
 Date convertFromString(Map context, String[] values, Class toClass)
           
static Date convertFromString(String value)
           
static String convertToString(Date date)
           
 String convertToString(Map context, Object o)
           
 
Methods inherited from class org.apache.struts2.util.StrutsTypeConverter
convertValue, performFallbackConversion
 
Methods inherited from class com.opensymphony.xwork2.conversion.impl.DefaultTypeConverter
bigDecValue, bigIntValue, booleanValue, convertValue, convertValue, doubleValue, enumValue, getTypeConverter, longValue, stringValue, stringValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateConverter

public DateConverter()
Method Detail

convertFromString

public Date convertFromString(Map context,
                              String[] values,
                              Class toClass)
Specified by:
convertFromString in class org.apache.struts2.util.StrutsTypeConverter

convertToString

public String convertToString(Map context,
                              Object o)
Specified by:
convertToString in class org.apache.struts2.util.StrutsTypeConverter

convertToString

public static String convertToString(Date date)

convertFromString

public static Date convertFromString(String value)


Copyright © 2009-2012 CodeLutin. All Rights Reserved.