Click or drag to resize

WorkingTime Class

Work schedule (time, holidays etc.).
Inheritance Hierarchy
SystemObject
  CloneableWorkingTime
    StockSharp.MessagesWorkingTime

Namespace:  StockSharp.Messages
Assembly:  StockSharp.Messages (in StockSharp.Messages.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
[SerializableAttribute]
public class WorkingTime : Cloneable<WorkingTime>, 
	IPersistable

The WorkingTime type exposes the following members.

Constructors
  NameDescription
Public methodWorkingTime
Initializes a new instance of the WorkingTime.
Top
Properties
  NameDescription
Public propertyPeriods
Schedule validity periods.
Public propertySpecialDays
Special working days and holidays.
Public propertySpecialHolidays
Holidays that fall on workdays.
Public propertySpecialWorkingDays
Working days, falling on Saturday and Sunday.
Top
Methods
  NameDescription
Public methodClone
Create a copy of WorkingTime.
(Overrides Cloneable.Clone.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave
Save settings.
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetPeriod
Get period for schedule.
(Defined by Extensions.)
Public Extension MethodIsTradeDate
To check, whether date is traded.
(Defined by TraderHelper.)
Public Extension MethodIsTradeTime
To check, whether the time is traded (has the session started, ended, is there a clearing).
(Defined by TraderHelper.)
Top
See Also