IPeriodicSchedule Interface |
Check
Namespace: DHI.Mike1D.BoundaryModule.PeriodicItem
The IPeriodicSchedule type exposes the following members.
Name | Description | |
---|---|---|
Days |
Array of length 31 indicating which days of the month that
is part of this schedule. First element (index zero) is
the first of the month. If month has less than 31 days, the
last elements are just ignored. Set to null to disable use of days,
i.e., all days are part of this schedule.
| |
DaysOfWeek |
Array of length 7 indicating which days of the week that
is part of this schedule. First element (index zero) is
sunday, last is saturday. Set to null to disable use of DaysOfWeek,
i.e., all days of the week are part of this schedule.
| |
Id |
ID of periodic schedule
| |
Months |
Array of length 12 indicating which months of the year that
is part of this schedule. First element (index zero) is
January, last is December. Set to null to disable use of months,
i.e., all months are part of the schedule.
|
Name | Description | |
---|---|---|
Check(DateTime, Int32) |
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.
| |
Check(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)
|