Skip to main content

FormatConditionDateOccurring Class

A format condition used to apply formatting to date-time values concerning a specific date and/or date interval relative to today.

#Declaration

TypeScript
export class FormatConditionDateOccurring extends FormatConditionStyleBase

#Inheritance

#constructor

Initializes a new instance of the FormatConditionDateOccurring class.

#Declaration

TypeScript
constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

#Parameters

Name Type Description
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

#Properties

#dateType Property

#Declaration

TypeScript
dateType: ko.Observable<DevExpress.Dashboard.Model.FilterDateType>

#Property Value

Type
Observable<FilterDateType>

#getSpecificType Property

#Declaration

TypeScript
getSpecificType: () => any

#Property Value

Type
() => any

#setSpecificType Property

#Declaration

TypeScript
setSpecificType: (type: string) => void

#Property Value

Type
(type: string) => void