// Sun void setSunIntensity(weatherGet weather, float sunIntensity) { if (weather.getSunDuration() > 0) { weather.setSunIntensity(sunIntensity); } }