Locale.getDayName

Overview | Methods | This Package | All Packages

Locale.getDayName

Retrieves the native long name for the specific day of the week.

Syntax

public String getDayName( int day )

Parameters

day

An integer value that corresponds to one of the Days values and represents the day of the week to retrieve the name for.

Return Value

Returns a String object that represents the native long name for the specified day.

Remarks

When calling this method, specifying a value of 0 for the day parameter will return the locale's string name for Monday.

See Also    getFirstDayOfWeek, getAbbrevDayName