FDateTime::DaysInYear

Gets the number of days in the given year.