public class DateFormatFactory
extends java.lang.Object
| 构造器和说明 |
|---|
DateFormatFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
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.