Time.getDayOfWeek

Overview | Methods | Fields | This Package | All Packages

Time.getDayOfWeek

Retrieves the day of the week that this Time object represents.

Syntax

public int getDayOfWeek()

Return Value

Returns an integer value that represents the day of the week that this Time object represents.

Remarks

The number returned by the getDayOfWeek method is always between 1 and 7 where a value of 1 represents Monday.

See Also   getDayOfYear, getDay