|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.util.DefaultFormatFactory
public class DefaultFormatFactory
| Field Summary | |
|---|---|
static String |
STANDARD_DATE_FORMAT_DEFAULT
Used in the date pattern to specify the default style. |
static String |
STANDARD_DATE_FORMAT_FULL
Used in the date pattern to specify the full style. |
static String |
STANDARD_DATE_FORMAT_HIDE
Used in the date pattern to specify that the date or time should not be included. |
static String |
STANDARD_DATE_FORMAT_LONG
Used in the date pattern to specify the long style. |
static String |
STANDARD_DATE_FORMAT_MEDIUM
Used in the date pattern to specify the medium style. |
static String |
STANDARD_DATE_FORMAT_SEPARATOR
Used in the date format pattern to separate the date and time styles. |
static String |
STANDARD_DATE_FORMAT_SHORT
Used in the date pattern to specify the short style. |
| Constructor Summary | |
|---|---|
DefaultFormatFactory()
|
|
| Method Summary | |
|---|---|
DateFormat |
createDateFormat(String pattern,
Locale locale,
TimeZone tz)
|
static FormatFactory |
createFormatFactory(String formatFactoryClassName)
|
NumberFormat |
createNumberFormat(String pattern,
Locale locale)
|
protected static DateFormat |
getDateFormat(int[] dateStyle,
int[] timeStyle,
Locale locale)
|
protected static int[] |
getDateStyle(String pattern)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String STANDARD_DATE_FORMAT_DEFAULT
DateFormat.DEFAULT,
Constant Field Valuespublic static final String STANDARD_DATE_FORMAT_SHORT
DateFormat.SHORT,
Constant Field Valuespublic static final String STANDARD_DATE_FORMAT_MEDIUM
DateFormat.MEDIUM,
Constant Field Valuespublic static final String STANDARD_DATE_FORMAT_LONG
DateFormat.LONG,
Constant Field Valuespublic static final String STANDARD_DATE_FORMAT_FULL
DateFormat.FULL,
Constant Field Valuespublic static final String STANDARD_DATE_FORMAT_HIDE
public static final String STANDARD_DATE_FORMAT_SEPARATOR
| Constructor Detail |
|---|
public DefaultFormatFactory()
| Method Detail |
|---|
public DateFormat createDateFormat(String pattern,
Locale locale,
TimeZone tz)
createDateFormat in interface FormatFactoryprotected static int[] getDateStyle(String pattern)
protected static DateFormat getDateFormat(int[] dateStyle,
int[] timeStyle,
Locale locale)
public NumberFormat createNumberFormat(String pattern,
Locale locale)
createNumberFormat in interface FormatFactorypublic static FormatFactory createFormatFactory(String formatFactoryClassName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||