Microsoft SDK for Java

Locale.getCenturyFormat

Determines if the year specifier is a 4-digit or a 2-digit century.

Syntax

public boolean getCenturyFormat()

Return Value

Returns true if a full 4-digit century is in use within this locale; otherwise, returns false (which denotes an abbreviated 2-digit century).

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