/// <summary> /// Only for tests! /// </summary> /// <returns>10 mins left interval for <see cref="_10MinLeftTimer"/>.</returns> public double Get10MinsLeftInterval() { var endDate = _grbMap.NextCloseDate(_timeService.UtcNow.AddMinutes(10)); var left10Mins = endDate.Subtract(TimeSpan.FromMinutes(10)); return(left10Mins.Subtract(_timeService.UtcNow).TotalMilliseconds); }