Locale.getTimeFormat

Overview | Methods | This Package | All Packages

Locale.getTimeFormat

Retrieves the time format specifier.

Syntax

public int getTimeFormat()

Return Value

Returns an integer value that represents the time format specifier.

Remarks

The specified can be one of the following values:

Value Description
0 AM / PM 12-hour format
1 24-hour format

See Also   setTimeFormat