IPeriodicScheduleCheck(DateTime, Int32) Method
Check whether this date is part of the schedule.
Use if date is to be checked only against this schedule.
Otherwice, precalculate date.DayOfWeek, date.Day and date.Months
and used optimized version of Check.
Namespace: DHI.Mike1D.BoundaryModule.PeriodicItemAssembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
bool Check(
DateTime date,
int specialDayOfWeek
)
- date DateTime
- Date to check
- specialDayOfWeek Int32
- Overrides date.DayOfWeek if 0-6, use -1 to disable
BooleanTrue if input is part of schedule, false if not