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


In This Topic
    Treat31stAsLast Property
    In This Topic
    Determines whether the rule will always apply on the last day of the month if the DayMask contains day 31.
    Syntax
    'Declaration
     
    
    <RequiredVersionAttribute(5, 
       0, 
       0, 
       0)>
    Public Property Treat31stAsLast As Boolean
    [RequiredVersion(5, 
       0, 
       0, 
       0)]
    public bool Treat31stAsLast {get; set;}
    [RequiredVersion(5, 
       0, 
       0, 
       0)]
    public:
    property bool Treat31stAsLast {
       bool get();
       void set (    bool value);
    }
    Remarks

    If Treat31stAsLast is true (the default) and the DayMask contains day 31, this rule will apply on the last day of the month for months that have fewer than 31 days. If Treat31stAsLast is false and the DayMask contains 31, the rule applies only in months that actually have 31 days.

    If the server version is earlier than 5.0, this setting has no effect and day 31 always applies to the last day of the month.

    See Also