API Reference
Struct
ChartTimeSession
One included interval of ordered UTC instants on a compressed time X axis.
Inheritance
- ValueType
- ChartTimeSession
Remarks
Endpoints are inclusive. Adjacent sessions may share an endpoint. Gaps between sessions occupy no axis width; this explicit calendar does not infer market hours, holidays or weekdays.
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property ChartTimeSessionDomain.Sessions
Accepted by parameters 1
- Constructor ChartTimeSessionDomain.ChartTimeSessionDomain
Constructors
ChartTimeSession 3 overloads
public ChartTimeSession(Double minimum, Double maximum) #Creates a session in the chart's ordered OLE Automation day coordinates.
Parameters
- minimum System.Double
- The inclusive opening instant on or after 1899-12-30 UTC.
- maximum System.Double
- The inclusive closing instant, greater than the opening instant.
Exceptions
ArgumentOutOfRangeException– A bound is not a finite representable ordered instant, or the interval is empty.
public ChartTimeSession(DateTime minimum, DateTime maximum) #Creates a UTC interval. Local inputs convert to UTC; unspecified inputs are treated as UTC.
Parameters
- minimum System.DateTime
- The opening instant.
- maximum System.DateTime
- The closing instant, at least one canonical 100-microsecond display step later.
public ChartTimeSession(DateTimeOffset minimum, DateTimeOffset maximum) #Creates a session from absolute instants, preserving their UTC identity.
Parameters
- minimum System.DateTimeOffset
- The opening instant.
- maximum System.DateTimeOffset
- The closing instant.
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from ValueType
Parameters
- obj Object?