Add method comment

This commit is contained in:
Cj
2025-10-06 05:22:43 -04:00
parent 2376d54d71
commit 5e0c32e9c2
@@ -70,6 +70,11 @@ public class WeatherHelper(ISptLogger<WeatherHelper> logger, TimeUtil timeUtil,
return time.Hour is > 21 or < 5;
}
/// <summary>
/// Is the provided hour at night, nighttime is after 2100 and before 0600
/// </summary>
/// <param name="currentHour">Hour to check</param>
/// <returns>True if nighttime hour</returns>
public bool IsHourAtNightTime(int currentHour)
{
return currentHour is > 21 or <= 5;