public class DateFormatFactory
extends java.lang.Object
Constructor and Description |
---|
DateFormatFactory() |
Modifier and Type | Method and Description |
---|---|
static com.ibm.icu.text.DateFormat |
getDateInstance(int dateStyle,
com.ibm.icu.util.ULocale locale)
Gets DateFormat instance allocated to the current thread for the given
date style, timestyle and locale.
|
static com.ibm.icu.text.DateFormat |
getDateTimeInstance(int dateStyle,
int timeStyle,
com.ibm.icu.util.ULocale locale)
Gets DateFormat instance allocated to the current thread for the given
date style, timestyle and locale.
|
static com.ibm.icu.text.SimpleDateFormat |
getPatternInstance(org.eclipse.birt.core.data.PatternKey pattern)
Gets DateFormat instance allocated to the current thread for the given
pattern.
|
public static com.ibm.icu.text.DateFormat getDateTimeInstance(int dateStyle, int timeStyle, com.ibm.icu.util.ULocale locale)
public static com.ibm.icu.text.DateFormat getDateInstance(int dateStyle, com.ibm.icu.util.ULocale locale)
public static com.ibm.icu.text.SimpleDateFormat getPatternInstance(org.eclipse.birt.core.data.PatternKey pattern)
Copyright © 2008 Actuate Corp. All rights reserved.