Microsoft SDK for Java

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

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