StandardDateFilterDuration Class

Contains information about each standard date filter—also referred to as a relative date filter. It contains the API name and display label of the standard date filter duration as well as the start and end dates.

Reports

The following are methods for StandardDateFilterDuration.

  • getEndDate()

    Returns the end date of the date filter.

  • getLabel()

    Returns the display name of the date filter. Possible values are relative date filters—like Current FY and Current FQ—and custom date filters.

  • getStartDate()

    Returns the start date of the date filter.

  • getValue()

    Returns the API name of the date filter. Possible values are relative date filters—like THIS_FISCAL_YEAR and NEXT_FISCAL_QUARTER—and custom date filters.

Returns the end date of the date filter.

public String getEndDate()

Type: String

Returns the display name of the date filter. Possible values are relative date filters—like Current FY and Current FQ—and custom date filters.

public String getLabel()

Type: String

Returns the start date of the date filter.

public String getStartDate()

Type: String

Returns the API name of the date filter. Possible values are relative date filters—like THIS_FISCAL_YEAR and NEXT_FISCAL_QUARTER—and custom date filters.

public String getValue()

Type: String