INTF IF_XCO_CP_TM_MOMENT

Source Link
Open in ADT

Home
Previous Object: IF_XCO_CP_TM_FORMAT_FACTORY
Next Object: IF_XCO_CP_TM_MOMENT_FORMAT

Status: RELEASED

Public
Attribute date TYPE if_xco_cp_tm_date
Attribute time TYPE if_xco_cp_tm_time
Method as
  IMPORTING
    io_format TYPE if_xco_cp_tm_moment_format
  RETURNING ro_string TYPE if_xco_string
Method get_unix_timestamp
  IMPORTING
    io_time_zone TYPE if_xco_tm_time_zone Optional
  RETURNING ro_unix_timestamp TYPE if_xco_cp_tm_unix_timestamp
Method add
  IMPORTING
    iv_year TYPE I Optional
    iv_month TYPE I Optional
    iv_day TYPE I Optional
    iv_hour TYPE I Optional
    iv_minute TYPE I Optional
    iv_second TYPE I Optional
  RETURNING ro_moment TYPE if_xco_cp_tm_moment
Method subtract
  IMPORTING
    iv_year TYPE I Optional
    iv_month TYPE I Optional
    iv_day TYPE I Optional
    iv_hour TYPE I Optional
    iv_minute TYPE I Optional
    iv_second TYPE I Optional
  RETURNING ro_moment TYPE if_xco_cp_tm_moment
Method overwrite
  IMPORTING
    iv_year TYPE NUMC4 Optional
    iv_month TYPE NUMC2 Optional
    iv_day TYPE NUMC2 Optional
    iv_hour TYPE NUMC2 Optional
    iv_minute TYPE NUMC2 Optional
    iv_second TYPE NUMC2 Optional
  RETURNING ro_moment TYPE if_xco_cp_tm_moment
Method is_before
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment
  RETURNING rv_is_before TYPE ABAP_BOOL
Method is_not_before
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment
  RETURNING rv_is_not_before TYPE ABAP_BOOL
Method is_after
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment
  RETURNING rv_is_after TYPE ABAP_BOOL
Method is_not_after
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment
  RETURNING rv_is_not_after TYPE ABAP_BOOL
Method interval_to
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment Optional
  RETURNING ro_interval_to TYPE if_xco_cp_tm_moment_interval
Method interval_from
  IMPORTING
    io_moment TYPE if_xco_cp_tm_moment Optional
  RETURNING ro_interval_from TYPE if_xco_cp_tm_moment_interval

Exists on:
754false
750false
702false

Bug reports and ideas welcome
Made using abaplint.app