Click or drag to resize

AlwaysScheduleCheck 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: 19.0.0.0 (11.1.1.1111)
Syntax
public bool Check(
	int dayOfWeek,
	int dayOfMonth,
	int month
)

Parameters

dayOfWeek
Type: SystemInt32
Integer 0-7, 0 is sunday, 6 is saturdag
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: Boolean
True if input is part of schedule, false if not

Implements

IPeriodicScheduleCheck(Int32, Int32, Int32)
See Also