CLAS CL_ABAP_DATFM

Source Link
Open in ADT

Home
Previous Object: CL_ABAP_DATADESCR
Next Object: CL_ABAP_DB_C_LOCATOR

Public
Type ty_country TYPE cl_abap_datfm=>ty_country
Type ty_datext TYPE cl_abap_datfm=>ty_datext
Type ty_datfm TYPE cl_abap_datfm=>ty_datfm
Type ty_delimiter TYPE cl_abap_datfm=>ty_delimiter
Type ty_isldate TYPE cl_abap_datfm=>ty_isldate
Type ty_langu TYPE cl_abap_datfm=>ty_langu
Type ty_gregdate TYPE cl_abap_datfm=>ty_gregdate
Static Method check_date_format
  IMPORTING
    im_datfm TYPE cl_abap_datfm=>ty_datfm
  RETURNING re_is_valid TYPE ABAP_BOOL
Static Method conv_date_ext_to_int
  IMPORTING
    im_datext TYPE csequence
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_datint TYPE D
    ex_datfmused TYPE cl_abap_datfm=>ty_datfm
  RAISING cx_abap_datfm_no_date
  RAISING cx_abap_datfm_invalid_date
  RAISING cx_abap_datfm_format_unknown
  RAISING cx_abap_datfm_ambiguous
Static Method conv_date_int_to_ext
  IMPORTING
    im_datint TYPE D
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_datext TYPE csequence
    ex_datfmused TYPE cl_abap_datfm=>ty_datfm
  RAISING cx_abap_datfm_format_unknown
Static Method conv_date_int_to_shortex
  IMPORTING
    im_datint TYPE D
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_abbrdatext TYPE csequence
    ex_datfmused TYPE cl_abap_datfm=>ty_datfm
  RAISING cx_abap_datfm_format_unknown
Static Method conv_isl_to_greg_formula
  IMPORTING
    isldate TYPE cl_abap_datfm=>ty_isldate
  EXPORTING
    gregdate TYPE cl_abap_datfm=>ty_gregdate
Static Method conv_period_ext_to_int
  IMPORTING
    im_periodext TYPE csequence
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
    im_inweeks TYPE ABAP_BOOL Optional
    im_inarbitrary TYPE ABAP_BOOL Optional
  EXPORTING
    ex_periodint TYPE csequence
    ex_datfmused TYPE cl_abap_datfm=>ty_datfm
  RAISING cx_abap_datfm_no_date
  RAISING cx_abap_datfm_invalid_date
  RAISING cx_abap_datfm_format_unknown
  RAISING cx_abap_datfm_ambiguous
Static Method conv_period_int_to_ext
  IMPORTING
    im_periodint TYPE csequence
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_periodext TYPE csequence
    ex_datfmused TYPE cl_abap_datfm=>ty_datfm
  RAISING cx_abap_datfm_format_unknown
Static Method conv_year_ext_to_int
  IMPORTING
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
    im_yearext TYPE clike
    im_by_parameter TYPE ABAP_BOOL Optional
  EXPORTING
    ex_yearint TYPE clike
  RAISING cx_abap_datfm_invalid_date
  RAISING cx_abap_datfm_no_date
Static Method conv_year_int_to_ext
  IMPORTING
    im_datfmdes TYPE cl_abap_datfm=>ty_datfm Optional
    im_yearint TYPE clike
    im_by_parameter TYPE ABAP_BOOL Optional
  EXPORTING
    ex_yearext TYPE clike
Static Method get_country_datfm
  IMPORTING
    country TYPE cl_abap_datfm=>ty_country
  RETURNING datfm TYPE cl_abap_datfm=>ty_datfm
Static Method get_date_format_des
  IMPORTING
    im_datfm TYPE cl_abap_datfm=>ty_datfm Optional
    im_langu TYPE cl_abap_datfm=>ty_langu Optional
    im_plain TYPE ABAP_BOOL Optional
    im_long TYPE ABAP_BOOL Optional
  EXPORTING
    ex_dateformat TYPE csequence
  RAISING cx_abap_datfm_format_unknown
Static Method get_date_format_des_j
  IMPORTING
    im_datfm TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_dateformat TYPE csequence
  RAISING cx_abap_datfm_format_unknown
Static Method get_datfm
  RETURNING datfm TYPE cl_abap_datfm=>ty_datfm
Static Method get_delimiter
  IMPORTING
    im_datfm TYPE cl_abap_datfm=>ty_datfm Optional
  EXPORTING
    ex_delimiter TYPE cl_abap_datfm=>ty_delimiter
  RAISING cx_abap_datfm_format_unknown
Static Method get_num_of_dateformats
  RETURNING re_num TYPE INT4
Static Method get_period_format_des
  IMPORTING
    im_datfm TYPE cl_abap_datfm=>ty_datfm Optional
    im_langu TYPE cl_abap_datfm=>ty_langu Optional
    im_plain TYPE ABAP_BOOL Optional
    im_long TYPE ABAP_BOOL Optional
    im_isweeks TYPE ABAP_BOOL Optional
  EXPORTING
    ex_periodformat TYPE csequence
  RAISING cx_abap_datfm_format_unknown

Exists on:
754true
750true
702true

Bug reports and ideas welcome
Made using abaplint.app