DateFormat.getDateInstance
Class Overview | Class Members |
This Package |
All Packages
public static final DateFormat getDateInstance()
Returns
a date formatter.
Description
Gets the date formatter with the default formatting style
for the default locale.
public static final DateFormat getDateInstance( int style )
Parameters
- style
- the given formatting style. For example,
SHORT for "M/d/yy" in the US locale.
Returns
a date formatter.
Description
Gets the date formatter with the given formatting style
for the default locale.
public static final DateFormat getDateInstance( int style,
Locale aLocale )
Parameters
- style
- the given formatting style. For example,
SHORT for "M/d/yy" in the US locale.
- inLocale
- the given locale.
Returns
a date formatter.
Description
Gets the date formatter with the given formatting style
for the given locale.