IPeriodicScheduleCheck Method (Int32, Int32, Int32) |
Check whether a date, defined by its dayOfWeek, dayOfMonth and month
is part of this schedule. Use if dayOfWeek, dayOfMonth and month
is precalculated from a date (for optimization)
Namespace:
DHI.Mike1D.BoundaryModule.PeriodicItem
Assembly:
DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax bool Check(
int dayOfWeek,
int dayOfMonth,
int month
)
Parameters
- dayOfWeek
- Type: SystemInt32
Integer 0-7, 0 is sunday, 6 is saturday - dayOfMonth
- Type: SystemInt32
Integer 1-31 indicating day of month - month
- Type: SystemInt32
Integer 1-12, 1 is January, 12 is December
Return Value
Type:
BooleanTrue if input is part of schedule, false if not
See Also