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.
| Id |
ID for Special day
|
| Usage |
Set how to use this special day.
- -1 : – Do not use this.
- 0-6 : – weekdays, as returned by DateTime: 0=sunday,..., 6=saturday.
|
| Check(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.
|
| Check(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.
|