Table of Contents

Class DayFilter

Namespace
DxFeed.Graal.Net.Schedules
Assembly
DxFeed.Graal.Net.dll

A filter for days used by various search methods. This class provides predefined filters for certain Day attributes, although users can create their own filters to suit their needs.

Please note that days can be either trading or non-trading, and this distinction can be either based on rules (e.g. weekends) or dictated by special occasions (e.g. holidays). Different filters treat this distinction differently - some accept only trading days, some only non-trading, and some ignore type of day altogether.
public class DayFilter
Inheritance
DayFilter
Inherited Members

Fields

ANY

Accepts any day - useful for pure calendar navigation.

public static readonly DayFilter ANY

Field Value

DayFilter

FRIDAY

Accepts Fridays only - those with Day.DayOfWeek == 5.

public static readonly DayFilter FRIDAY

Field Value

DayFilter

HOLIDAY

Accepts holidays only - those with Day.IsHoliday == false.

public static readonly DayFilter HOLIDAY

Field Value

DayFilter

MONDAY

Accepts Mondays only - those with Day.DayOfWeek == 1.

public static readonly DayFilter MONDAY

Field Value

DayFilter

NON_TRADING

Accepts non-trading days only - those with Day.IsTrading == false.

public static readonly DayFilter NON_TRADING

Field Value

DayFilter

SATURDAY

Accepts Saturdays only - those with Day.DayOfWeek == 6.

public static readonly DayFilter SATURDAY

Field Value

DayFilter

SHORT_DAY

Accepts short days only - those with Day.IsShortDay == false.

public static readonly DayFilter SHORT_DAY

Field Value

DayFilter

SUNDAY

Accepts Sundays only - those with Day.DayOfWeek == 7.

public static readonly DayFilter SUNDAY

Field Value

DayFilter

THURSDAY

Accepts Thursdays only - those with Day.DayOfWeek == 4.

public static readonly DayFilter THURSDAY

Field Value

DayFilter

TRADING

Accepts trading days only - those with

({@link Day#isTrading()} == true)
.
public static readonly DayFilter TRADING

Field Value

DayFilter

TUESDAY

Accepts Tuesdays only - those with Day.DayOfWeek == 2.

public static readonly DayFilter TUESDAY

Field Value

DayFilter

WEDNESDAY

Accepts Wednesdays only - those with Day.DayOfWeek == 3.

public static readonly DayFilter WEDNESDAY

Field Value

DayFilter

WEEK_DAY

Accepts week-days only - those with Day.DayOfWeek <= 5.

public static readonly DayFilter WEEK_DAY

Field Value

DayFilter

WEEK_END

Accepts weekends only - those with Day.DayOfWeek >= 6.

public static readonly DayFilter WEEK_END

Field Value

DayFilter