/// <summary> /// Initializes a new instance of the <see cref="MarketHoursSegment"/> class /// </summary> /// <param name="state">The state of the market during the specified times</param> /// <param name="start">The start time of the segment</param> /// <param name="end">The end time of the segment</param> public MarketHoursSegment(MarketHoursState state, TimeSpan start, TimeSpan end) { Start = start; End = end; State = state; }
/// <summary> /// Initializes a new instance of the <see cref="MarketHoursSegment"/> class /// </summary> /// <param name="state">The state of the market during the specified times</param> /// <param name="start">The start time of the segment</param> /// <param name="end">The end time of the segment</param> public MarketHoursSegment(MarketHoursState state, TimeSpan start, TimeSpan end) { Start = start; End = end; State = state; }