adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DaySpecification Class / Offset Property


In This Topic
    Offset Property
    In This Topic
    Gets or sets the number of days by which the target date is offset from the date specified by the rule.
    Syntax
    'Declaration
     
    
    Public Property Offset As Integer
    public int Offset {get; set;}
    public:
    property int Offset {
       int get();
       void set (    int value);
    }
    Remarks

    If the SpecificationType is ArcanaDevelopment.adTempus.Shared.DaySpecificationType.FloatingOffset, ArcanaDevelopment.adTempus.Shared.DaySpecificationType.EndOfMonthOffset, or ArcanaDevelopment.adTempus.Shared.DaySpecificationType.EasterOffset, the Offset specifies the offset from the calculated date.

    For example, if the SpecificationType is ArcanaDevelopment.adTempus.Shared.DaySpecificationType.EasterOffset, the calculated date will be Easter. To trigger on Easter, set the Offset to 0. To trigger on Good Friday (2 days before Easter), set the Offset to -2. To trigger on the Monday after Easter, set the Offset to 1.

    See Also