/AWS1/CL_CNTRECURRENCEPATTERN¶
Specifies the detailed pattern for event recurrence. Use this to define complex scheduling rules such as "every 2nd Tuesday of the month" or "every 3 months on the 15th".
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_frequency TYPE /AWS1/CNTRECURRENCEFREQUENCY /AWS1/CNTRECURRENCEFREQUENCY¶
Defines how often the pattern repeats. This is the base unit for the recurrence schedule and works in conjunction with the Interval field to determine the exact repetition sequence.
iv_interval TYPE /AWS1/CNTINTERVALPOSINTEGER /AWS1/CNTINTERVALPOSINTEGER¶
Specifies the number of frequency units between each occurrence. Must be a positive integer.
Examples: To repeat every week, set Interval=1 with WEEKLY frequency. To repeat every two months, set Interval=2 with MONTHLY frequency.
Optional arguments:¶
it_bymonth TYPE /AWS1/CL_CNTMONTHLIST_W=>TT_MONTHLIST TT_MONTHLIST¶
Specifies which month the event should occur in (1-12, where 1=January, 12=December). Used with YEARLY frequency to schedule events in specific month.
Note: It does not accept multiple values in the same list
it_bymonthday TYPE /AWS1/CL_CNTMONTHDAYLIST_W=>TT_MONTHDAYLIST TT_MONTHDAYLIST¶
Specifies which day of the month the event should occur on (1-31). Used with MONTHLY or YEARLY frequency to schedule events on specific date within a month.
Examples: [15] for events on the 15th of each month, [-1] for events on the last day of month.
Note: It does not accept multiple values in the same list. If a specified day doesn't exist in a particular month (e.g., day 31 in February), the event will be skipped for that month. This field cannot be used simultaneously with ByWeekdayOccurrence as they represent different scheduling approaches (specific dates vs. relative weekday positions).
it_byweekdayoccurrence TYPE /AWS1/CL_CNTWEEKDAYOCCURLIST_W=>TT_WEEKDAYOCCURRENCELIST TT_WEEKDAYOCCURRENCELIST¶
Specifies which occurrence of a weekday within the month the event should occur on. Must be used with MONTHLY or YEARLY frequency.
Example: 2 corresponds to second occurrence of the weekday in the month. -1 corresponds to last occurrence of the weekday in the month
The weekday itself is specified separately in the HoursOfOperationConfig. Example: To schedule the recurring event for the 2nd Thursday of April every year, set ByWeekdayOccurrence=[2], Day=THURSDAY, ByMonth=[4], Frequency: YEARLY and INTERVAL=1.
Queryable Attributes¶
Frequency¶
Defines how often the pattern repeats. This is the base unit for the recurrence schedule and works in conjunction with the Interval field to determine the exact repetition sequence.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FREQUENCY() |
Getter for FREQUENCY, with configurable default |
ASK_FREQUENCY() |
Getter for FREQUENCY w/ exceptions if field has no value |
HAS_FREQUENCY() |
Determine if FREQUENCY has a value |
Interval¶
Specifies the number of frequency units between each occurrence. Must be a positive integer.
Examples: To repeat every week, set Interval=1 with WEEKLY frequency. To repeat every two months, set Interval=2 with MONTHLY frequency.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTERVAL() |
Getter for INTERVAL, with configurable default |
ASK_INTERVAL() |
Getter for INTERVAL w/ exceptions if field has no value |
HAS_INTERVAL() |
Determine if INTERVAL has a value |
ByMonth¶
Specifies which month the event should occur in (1-12, where 1=January, 12=December). Used with YEARLY frequency to schedule events in specific month.
Note: It does not accept multiple values in the same list
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BYMONTH() |
Getter for BYMONTH, with configurable default |
ASK_BYMONTH() |
Getter for BYMONTH w/ exceptions if field has no value |
HAS_BYMONTH() |
Determine if BYMONTH has a value |
ByMonthDay¶
Specifies which day of the month the event should occur on (1-31). Used with MONTHLY or YEARLY frequency to schedule events on specific date within a month.
Examples: [15] for events on the 15th of each month, [-1] for events on the last day of month.
Note: It does not accept multiple values in the same list. If a specified day doesn't exist in a particular month (e.g., day 31 in February), the event will be skipped for that month. This field cannot be used simultaneously with ByWeekdayOccurrence as they represent different scheduling approaches (specific dates vs. relative weekday positions).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BYMONTHDAY() |
Getter for BYMONTHDAY, with configurable default |
ASK_BYMONTHDAY() |
Getter for BYMONTHDAY w/ exceptions if field has no value |
HAS_BYMONTHDAY() |
Determine if BYMONTHDAY has a value |
ByWeekdayOccurrence¶
Specifies which occurrence of a weekday within the month the event should occur on. Must be used with MONTHLY or YEARLY frequency.
Example: 2 corresponds to second occurrence of the weekday in the month. -1 corresponds to last occurrence of the weekday in the month
The weekday itself is specified separately in the HoursOfOperationConfig. Example: To schedule the recurring event for the 2nd Thursday of April every year, set ByWeekdayOccurrence=[2], Day=THURSDAY, ByMonth=[4], Frequency: YEARLY and INTERVAL=1.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BYWEEKDAYOCCURRENCE() |
Getter for BYWEEKDAYOCCURRENCE, with configurable default |
ASK_BYWEEKDAYOCCURRENCE() |
Getter for BYWEEKDAYOCCURRENCE w/ exceptions if field has no |
HAS_BYWEEKDAYOCCURRENCE() |
Determine if BYWEEKDAYOCCURRENCE has a value |