/AWS1/CL_CWSCALENDARINTERVAL¶
If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
IV_STARTTIME
TYPE /AWS1/CWSTIMESTAMP
/AWS1/CWSTIMESTAMP
¶
The date and time when you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
1698778057
As soon as one calendar interval ends, another automatically begins.
IV_DURATIONUNIT
TYPE /AWS1/CWSDURATIONUNIT
/AWS1/CWSDURATIONUNIT
¶
Specifies the calendar interval unit.
IV_DURATION
TYPE /AWS1/CWSCALENDARINTERVALDUR
/AWS1/CWSCALENDARINTERVALDUR
¶
Specifies the duration of each calendar interval. For example, if
Duration
is1
andDurationUnit
isMONTH
, each interval is one month, aligned with the calendar.
Queryable Attributes¶
StartTime¶
The date and time when you want the first interval to start. Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
1698778057
As soon as one calendar interval ends, another automatically begins.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STARTTIME() |
Getter for STARTTIME, with configurable default |
ASK_STARTTIME() |
Getter for STARTTIME w/ exceptions if field has no value |
HAS_STARTTIME() |
Determine if STARTTIME has a value |
DurationUnit¶
Specifies the calendar interval unit.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATIONUNIT() |
Getter for DURATIONUNIT, with configurable default |
ASK_DURATIONUNIT() |
Getter for DURATIONUNIT w/ exceptions if field has no value |
HAS_DURATIONUNIT() |
Determine if DURATIONUNIT has a value |
Duration¶
Specifies the duration of each calendar interval. For example, if
Duration
is1
andDurationUnit
isMONTH
, each interval is one month, aligned with the calendar.
Accessible with the following methods¶
Method | Description |
---|---|
GET_DURATION() |
Getter for DURATION, with configurable default |
ASK_DURATION() |
Getter for DURATION w/ exceptions if field has no value |
HAS_DURATION() |
Determine if DURATION has a value |