org.mentawai.formatter
Class DateFormatter
java.lang.Object
org.mentawai.formatter.DateFormatter
- All Implemented Interfaces:
- Formatter
public class DateFormatter
- extends Object
- implements Formatter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateFormatter
public DateFormatter(int style)
DateFormatter
public DateFormatter(String pattern)
format
public String format(Object value,
Locale loc)
- Description copied from interface:
Formatter
- Formats an output object from this action.
- Specified by:
format in interface Formatter
- Parameters:
value - The value to formatloc - The locale to use (if needed)
- Returns:
- The value formatted to a String
Copyright © 2012. All Rights Reserved.