Class LocalDateTimeFormatter

java.lang.Object
org.openxava.formatters.DateTimeBaseFormatter
org.openxava.formatters.LocalDateTimeFormatter
All Implemented Interfaces:
IFormatter

public class LocalDateTimeFormatter extends DateTimeBaseFormatter implements IFormatter
Time formatter with multilocale support.

Since:
v7.4
Author:
Chungyen Tsai
  • Constructor Details

    • LocalDateTimeFormatter

      public LocalDateTimeFormatter()
  • Method Details

    • format

      public String format(javax.servlet.http.HttpServletRequest request, Object date)
      Description copied from interface: IFormatter
      From a object return a String to render in HTML.
      Specified by:
      format in interface IFormatter
    • parse

      public Object parse(javax.servlet.http.HttpServletRequest request, String string) throws ParseException
      Description copied from interface: IFormatter
      From a String obtained from a HTTP request return a java object.
      Specified by:
      parse in interface IFormatter
      Throws:
      ParseException