Added GetDayOfYear from solar to remove dependency