Skip to content

/AWS1/CL_LSATIMEPERIOD

Sets the start date and end date for retrieving a cost estimate. The start date is inclusive, but the end date is exclusive. For example, if start is 2017-01-01 and end is 2017-05-01, then the cost and usage data is retrieved from 2017-01-01 up to and including 2017-04-30 but not including 2017-05-01.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_start TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Lightsail for Research retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

iv_end TYPE /AWS1/LSAISODATE /AWS1/LSAISODATE

The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, 2017-05-01.


Queryable Attributes

start

The beginning of the time period. The start date is inclusive. For example, if start is 2017-01-01, Lightsail for Research retrieves cost and usage data starting at 2017-01-01 up to the end date. The start date must be equal to or no later than the current date to avoid a validation error.

Accessible with the following methods

Method Description
GET_START() Getter for START, with configurable default
ASK_START() Getter for START w/ exceptions if field has no value
HAS_START() Determine if START has a value

end

The end of the time period. The end date is exclusive. For example, if end is 2017-05-01, Lightsail for Research retrieves cost and usage data from the start date up to, but not including, 2017-05-01.

Accessible with the following methods

Method Description
GET_END() Getter for END, with configurable default
ASK_END() Getter for END w/ exceptions if field has no value
HAS_END() Determine if END has a value