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
FromDateTimeThe start time of the working window.
ToDateTimeThe 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
FromDateTimeToDateTime
Equals(SessionWorkingTime)
public bool Equals(SessionWorkingTime other)
Parameters
otherSessionWorkingTime
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
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
leftSessionWorkingTimerightSessionWorkingTime
Returns
- bool
operator !=(SessionWorkingTime, SessionWorkingTime)
public static bool operator !=(SessionWorkingTime left, SessionWorkingTime right)
Parameters
leftSessionWorkingTimerightSessionWorkingTime
Returns
- bool