Microsoft SDK for Java

Locale.getShortDateOrder

Retrieves a short date format-ordering specifier.

Syntax

public int getShortDateOrder()

Return Value

Returns an integer value that represents the short date format-ordering specifier.

Remarks

The value returned can be one of the following values:

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

See Also   Locale.DateFormatOrder, getLongDateOrder

© 1999 Microsoft Corporation. All rights reserved. Terms of use.