Example #1
0
 private static bool FitsTime(WeatherObject weatherObject, int time)
 {
     return(weatherObject.GetTimeDiapason()?.Contains(time)
            ?? PatchHelper.ClampTime(time) == time);
 }
Example #2
0
 private static bool FitsTime(WeatherObject weatherObject, int time)
 {
     return(weatherObject.GetTimeDiapason()?.Contains(time)
            ?? time >= CommonAcConsts.TimeMinimum && time <= CommonAcConsts.TimeMaximum);
 }