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