Table of Contents

Struct SessionWorkingTime

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

A trading session working window.

Added in ATAS 8.0.15.

public readonly struct SessionWorkingTime
Extension Methods

Constructors

SessionWorkingTime(DateTime, DateTime)

A trading session working window.

public SessionWorkingTime(DateTime From, DateTime To)

Parameters

From DateTime

The start time of the working window.

To DateTime

The end time of the working window.

Properties

From

The start time of the working window.

public DateTime From { get; init; }

Property Value

DateTime

To

The end time of the working window.

public DateTime To { get; init; }

Property Value

DateTime

Methods

Deconstruct(out DateTime, out DateTime)

public void Deconstruct(out DateTime From, out DateTime To)

Parameters

From DateTime
To DateTime

Equals(SessionWorkingTime)

public bool Equals(SessionWorkingTime other)

Parameters

other SessionWorkingTime

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(SessionWorkingTime, SessionWorkingTime)

public static bool operator ==(SessionWorkingTime left, SessionWorkingTime right)

Parameters

left SessionWorkingTime
right SessionWorkingTime

Returns

bool

operator !=(SessionWorkingTime, SessionWorkingTime)

public static bool operator !=(SessionWorkingTime left, SessionWorkingTime right)

Parameters

left SessionWorkingTime
right SessionWorkingTime

Returns

bool