Skip to content

/AWS1/CL_BCDDATETIMEVALUE

Represents a point in time that can be specified as either an absolute date (for example, "2025-07-01") or a relative time period using ISO 8601 duration format (for example, "-P3M" for three months ago).

CONSTRUCTOR

IMPORTING

Required arguments:

iv_type TYPE /AWS1/BCDDATETIMETYPE /AWS1/BCDDATETIMETYPE

The type of date/time value: ABSOLUTE for specific dates or RELATIVE for dynamic time periods.

iv_value TYPE /AWS1/BCDGENERICSTRING /AWS1/BCDGENERICSTRING

The actual date/time value.


Queryable Attributes

type

The type of date/time value: ABSOLUTE for specific dates or RELATIVE for dynamic time periods.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

value

The actual date/time value.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value