Package org.openxava.formatters
Class DateTimeSeparatedFormatter
java.lang.Object
org.openxava.formatters.DateTimeBaseFormatter
org.openxava.formatters.DateTimeSeparatedFormatter
- All Implemented Interfaces:
IMultipleValuesFormatter
public class DateTimeSeparatedFormatter
extends DateTimeBaseFormatter
implements IMultipleValuesFormatter
Date and time formatter with multilocale support.
- Author:
- Jose Luis Santiago, Javier Paniza
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]From a object return aString []to render in HTML.From aString []obtained from a HTTP request return a java object.Methods inherited from class org.openxava.formatters.DateTimeBaseFormatter
getDateTimeSeparator, getExtendedDateTimeFormats, isDashFormat, isDotFormat, isExtendedFormat, isZhFormat, isZhFormatAndJavaIs21orBetter, isZhFormatAndJavaLessThan9
-
Constructor Details
-
DateTimeSeparatedFormatter
public DateTimeSeparatedFormatter()
-
-
Method Details
-
format
Description copied from interface:IMultipleValuesFormatterFrom a object return aString []to render in HTML.- Specified by:
formatin interfaceIMultipleValuesFormatter- Throws:
Exception
-
parse
public Object parse(javax.servlet.http.HttpServletRequest request, String[] strings) throws Exception Description copied from interface:IMultipleValuesFormatterFrom aString []obtained from a HTTP request return a java object.- Specified by:
parsein interfaceIMultipleValuesFormatter- Throws:
Exception
-