PeriodicSpecialDayCheck(DateTime, Int32, Int32, Int32) Method
Check whether a date matches this special day. A usage is returned
if the date matches the specialday. Optimized version, when
the date.Month and date.Day is precalculated.
Namespace: DHI.Mike1D.BoundaryModule.PeriodicItemAssembly: DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 24.0.0.0 (11.1.1.1111)
public bool Check(
DateTime date,
int dateMonth,
int dateDay,
out int usage
)
- date DateTime
- Date to check
- dateMonth Int32
- Date to check, must be date.Month, 1-12
- dateDay Int32
- Date to check, must be date.Day, 1-31
- usage Int32
- Outputs the usage of this special day
Booleantrue if the date matches.
IPeriodicSpecialDayCheck(DateTime, Int32, Int32, Int32)