private static bool TestHourDate(API.Data.HourInfo hourInfo, DateTime from, DateTime to) { DateTime hourTime = hourInfo.GetDateTime(); return hourTime >= from.ToUniversalTime() && hourTime < to.ToUniversalTime(); }
private static bool TestHourDate(API.Data.HourInfo hourInfo, DateTime from, DateTime to) { DateTime hourTime = hourInfo.GetDateTime(); return hourTime >= from.ToUniversalTime() && hourTime < to.ToUniversalTime(); }