Locale.setTimeFormat

Overview | Methods | This Package | All Packages

Locale.setTimeFormat

Sets the time-format specifier.

Syntax

public void setTimeFormat( int value )

Parameters

value

An integer value containing a time-format specifier.

Remarks

This method takes one of the following time-format specifiers:

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

See Also   getTimeFormat