Skip to main content

FixedDateTimePeriodLimit Class

A fixed date-time value used to specify boundaries for the DateTimePeriod.

#Declaration

TypeScript
export class FixedDateTimePeriodLimit extends SerializableModel

#Remarks

The FixedDateTimePeriodLimit class exposes the FixedDateTimePeriodLimit.date property that allows you to specify the required date-time value.

#Inherited Members

#Inheritance

SerializableModel
FixedDateTimePeriodLimit

#constructor

Initializes a new instance of the FixedDateTimePeriodLimit 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

#date Property

#Declaration

TypeScript
date: ko.Observable<Date>

#Property Value

Type
Observable<Date>

#isEmpty Property

#Declaration

TypeScript
isEmpty: ko.Observable<boolean>

#Property Value

Type
Observable<boolean>

#Methods

#getDateTimeValue Method

#Declaration

TypeScript
getDateTimeValue(): Date

#Returns

Type
Date

#getInfo Method

For internal use.

#Declaration

TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

#Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.