Locale.getLongDateOrder

Overview | Methods | This Package | All Packages

Locale.getLongDateOrder

Retrieves the long date format order.

Syntax

public int getLongDateOrder()

Return Value

Returns an integer value that represents the long date format order.

Remarks

This method allows you to determine the date format for long date formats. The value returned by the getLongDateOrder method can be one of the following values:

Value Format
0 Month-Day-Year
1 Day-Month-Year
2 Year-Month-Day

See Also   Locale.DateFormatOrder