Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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).