HeaderPane
Main
Hide
Share Link
Print

AppliesTo Method, SpecialDateClass Class

Returns whether the special date applies to a date.

Class: SpecialDateClass
Namespace: Softelvdm.SftDateNET
Assembly: Softelvdm.SftDateNET

Syntax

public bool AppliesTo(
    DateTime date,
    Calendar calendar );
Public Function AppliesTo(
    ByVal date As DateTime,
    ByVal calendar As Calendar
  ) As Boolean

Parameters

date

The date.

calendar

The calendar that defines months and years, or null for the Gregorian calendar.

Return Value

True if the special date applies to the date, otherwise False.

Comments

Returns whether the special date applies to a date.

See Also SpecialDateClass Class | Classes | SftDate/NET 3.0