TSLab API Docs  1
TSLab.Script.Options.ICalendar Interface Reference

Common interface to implement national or exchange calendar More...

Inheritance diagram for TSLab.Script.Options.ICalendar:
TSLab.Script.Options.CalendarWithoutHolidays TSLab.Script.Options.CalendarWithoutHolidays TSLab.Script.Options.CalendarWithoutWeekends

Public Member Functions

bool IsWeekend (DateTime now)
 Is it weekend now (Sunday or Saturday)?
 
bool IsExtraHoliday (DateTime now)
 Is it extra holiday during regular working week?
 
bool IsExtraWorkday (DateTime now)
 Is it extra working day during weekend (working Sunday or Saturday)?
 
bool IsWorkingDay (DateTime now)
 Is it working day?
 
DateTime NextWorkingDay (DateTime now)
 Get the next working day
 
DateTime PrevWorkingDay (DateTime now)
 Get the previous working day
 

Detailed Description

Common interface to implement national or exchange calendar