PeriodicSpecialDayCheck Method (DateTime, Int32, Int32, Int32) |
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.PeriodicItem
Assembly:
DHI.Mike1D.BoundaryModule (in DHI.Mike1D.BoundaryModule.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax public bool Check(
DateTime date,
int dateMonth,
int dateDay,
out int usage
)
Public Function Check (
date As DateTime,
dateMonth As Integer,
dateDay As Integer,
<OutAttribute> ByRef usage As Integer
) As Boolean
public:
virtual bool Check(
DateTime date,
int dateMonth,
int dateDay,
[OutAttribute] int% usage
) sealed
Parameters
- date
- Type: SystemDateTime
Date to check - dateMonth
- Type: SystemInt32
Date to check, must be date.Month, 1-12 - dateDay
- Type: SystemInt32
Date to check, must be date.Day, 1-31 - usage
- Type: SystemInt32
Outputs the usage of this special day
Return Value
Type:
Booleantrue if the date matches.
Implements
IPeriodicSpecialDayCheck(DateTime, Int32, Int32, Int32)See Also