Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

Locale.getDateSeparator

Retrieves the symbol used as the locale's date separator.

Syntax

public String getDateSeparator()

Return Value

Returns a String object that contains the symbol used as the date separator.

Remarks

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

See Also   setDateSeparator