org.rythmengine.extension
Class JodaDateTimeFormatter
java.lang.Object
org.rythmengine.extension.JodaDateTimeFormatter
- All Implemented Interfaces:
- IFormatter
public class JodaDateTimeFormatter
- extends Object
- implements IFormatter
Created by luog on 2/01/14.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JodaDateTimeFormatter
public JodaDateTimeFormatter()
format
public String format(Object val,
String pattern,
Locale locale,
String timezone)
- Description copied from interface:
IFormatter
- Try to format the object. If the formatter does not recongize the object, then
null shall be returned immediately
- Specified by:
format in interface IFormatter
- Parameters:
val - the value object to be formattedpattern - the pattern to format the objectlocale - current localetimezone - current timezone
- Returns:
- the formatted string from the value
Copyright © 2014. All Rights Reserved.