Class DayFilter
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
FRIDAY
public static readonly DayFilter FRIDAY
Field Value
HOLIDAY
public static readonly DayFilter HOLIDAY
Field Value
MONDAY
public static readonly DayFilter MONDAY
Field Value
NON_TRADING
public static readonly DayFilter NON_TRADING
Field Value
SATURDAY
public static readonly DayFilter SATURDAY
Field Value
SHORT_DAY
Accepts short days only - those with Day.IsShortDay == false
.
public static readonly DayFilter SHORT_DAY
Field Value
SUNDAY
public static readonly DayFilter SUNDAY
Field Value
THURSDAY
public static readonly DayFilter THURSDAY
Field Value
TRADING
Accepts trading days only - those with
({@link Day#isTrading()} == true)
.
public static readonly DayFilter TRADING
Field Value
TUESDAY
public static readonly DayFilter TUESDAY
Field Value
WEDNESDAY
public static readonly DayFilter WEDNESDAY
Field Value
WEEK_DAY
public static readonly DayFilter WEEK_DAY
Field Value
WEEK_END
public static readonly DayFilter WEEK_END