public int Offset { get; set; }
Public Property Offset As Integer
Get
Set
public:
property int Offset {
int get ();
void set (int value);
}
member Offset : int with get, set
Use a positive value for a number of days after the calculated date or a negative number for a number of days before the calculated date.
Normally, this value will be zero so that the calculated date is the holiday date. However, in cases where a holiday is calculated in terms of the number of days after a given holiday, this can be set to the offset to adjust the calculated date.
For example, a "Day after Thanksgiving" holiday would set this property to 1 (one day after Thanksgiving, which is the 4th Thursday in November). You cannot use the 4th Friday to calculate the date because if the month starts on a Friday, the calculated date would be a week too early. As such, the Offset property is used instead.