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.

Namespace

Reports

StandardDateFilterDuration Methods

The following are methods for StandardDateFilterDuration.

getEndDate()

Returns the end date of the date filter.

Signature

public String getEndDate()

Return Value

Type: String

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.

Signature

public String getLabel()

Return Value

Type: String

getStartDate()

Returns the start date of the date filter.

Signature

public String getStartDate()

Return Value

Type: String

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.

Signature

public String getValue()

Return Value

Type: String