Gets the day-of-year field.
This method returns the primitive int value for the day-of-year.
int
Returns: the day-of-year, from 1 to 365, or 366 in a leap year
Diagram: LocalDate