Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Locale.getDayLeadingZero

Determines whether or not a leading zero is used for dates that have single digit days.

Syntax

public boolean getDayLeadingZero()

Return Value

Returns true if days should have leading zeros in dates; otherwise, returns false (denotes no leading zeros).

Remarks

Use this****method to ensure that date values are correctly specified for the current locale.

See Also    Locale.LeadingZeros, getMonthLeadingZero