Package org.eclipse.birt.core.format
Class AutoFormatter
java.lang.Object
org.eclipse.birt.core.format.AutoFormatter
- All Implemented Interfaces:
IFormatter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.birt.core.format.IFormatter
IFormatter.DefaultFormatter
-
Constructor Summary
ConstructorsConstructorDescriptionAutoFormatter
(String pattern, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone) AutoFormatter
(String pattern, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone, DateFormatter defaultDateFormatter) -
Method Summary
Modifier and TypeMethodDescriptionformatValue
(Object value) format the value object into a string.
-
Constructor Details
-
AutoFormatter
public AutoFormatter(String pattern, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone) -
AutoFormatter
public AutoFormatter(String pattern, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone, DateFormatter defaultDateFormatter)
-
-
Method Details
-
formatValue
Description copied from interface:IFormatter
format the value object into a string.- Specified by:
formatValue
in interfaceIFormatter
- Returns:
- Throws:
BirtException
-