org.rythmengine.extension
Interface IFormatter
- All Known Implementing Classes:
- JodaDateTimeFormatter
public interface IFormatter
Created by luog on 2/01/14.
format
String format(Object val,
String pattern,
Locale locale,
String timezone)
- Try to format the object. If the formatter does not recongize the object, then
null shall be returned immediately
- 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.