Click or drag to resize

IPeriodicSpecialDay Interface

Interface for a Periodic Special day. A special day that is specific, or recurring yearly. Only the Date part of a DateTime is used. Remember to set the usage of the special day. The usage tells how this special day is to be handled. It can either not be handled, or handled as another weekday. Use Check(DateTime,...) to test if a DateTime mathces the special day.

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 interface IPeriodicSpecialDay

The IPeriodicSpecialDay type exposes the following members.

Properties
  NameDescription
Public propertyId
ID for Special day
Public propertyUsage
Set how to use this special day.
  • -1 : - Do not use this.
  • 0-6 : - weekdays, as returned by DateTime: 0=sunday,..., 6=saturday.
Top
Methods
  NameDescription
Public methodCheck(DateTime, Int32)
Check whether a date matches this special day. A usage is returned if the date matches the specialday. See also optimized version below, to use when date.Months and date.Day is precalculated.
Public methodCheck(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.
Top
See Also