Click or drag to resize

PeriodicSpecialDay Class

Default implementation of IPeriodicSpecialDay
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.BoundaryModule.PeriodicItemPeriodicSpecialDay

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 class PeriodicSpecialDay : IPeriodicSpecialDay, 
	IExtensibleDataObject

The PeriodicSpecialDay type exposes the following members.

Constructors
  NameDescription
Public methodPeriodicSpecialDay
Create new special day on the specified DateTime.Date. indicating whether the date is specific or yearly recurring.
Top
Properties
  NameDescription
Public propertyExtensionData
Data from an extended DataContract not recognized here
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.Month 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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also