public int getDayOfYear ()

Gets the day-of-year field.

This method returns the primitive int value for the day-of-year.

Returns:  the day-of-year, from 1 to 365, or 366 in a leap year