Skip to content
ChartForgeX

API Reference

Struct

ChartTimeSession

Namespace ChartForgeX.Core
Assembly ChartForgeX
Base ValueType
Modifiers sealed

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

Accepted by parameters 1

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 requiredposition: 0
The inclusive opening instant on or after 1899-12-30 UTC.
maximum System.Double requiredposition: 1
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 requiredposition: 0
The opening instant.
maximum System.DateTime requiredposition: 1
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 requiredposition: 0
The opening instant.
maximum System.DateTimeOffset requiredposition: 1
The closing instant.

Properties

public Double Minimum { get; } #

Gets the inclusive opening instant in ordered OLE Automation days.

public Double Maximum { get; } #

Gets the inclusive closing instant in ordered OLE Automation days.