Retrieves the day of the year that this Time object represents.
public int getDayOfYear()
Returns an integer value that represents the day of the year that this Time object represents.
The number returned by the getDayOfYear method is always between 1 and 366.
See Also getDayOfWeek, getDay