Skip to main content
A newer version of this page is available. .

DataItemDateTimeFormat Class

Declaration

export class DataItemDateTimeFormat extends SerializableModel

constructor

Initializes a new instance of the DataItemDateTimeFormat class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

dateFormat Property

Declaration

dateFormat: ko.Observable<DateFormat>

Property Value

Type
Observable<DateFormat>

dateHourFormat Property

Declaration

dateHourFormat: ko.Observable<DateTimeFormat>

Property Value

Type
Observable<DateTimeFormat>

dateHourMinuteFormat Property

Declaration

dateHourMinuteFormat: ko.Observable<DateTimeFormat>

Property Value

Type
Observable<DateTimeFormat>

dateTimeFormat Property

Declaration

dateTimeFormat: ko.Observable<DateTimeFormat>

Property Value

Type
Observable<DateTimeFormat>

dayOfWeekFormat Property

Declaration

dayOfWeekFormat: ko.Observable<DayOfWeekFormat>

Property Value

Type
Observable<DayOfWeekFormat>

exactDateFormat Property

Declaration

exactDateFormat: ko.Observable<ExactDateFormat>

Property Value

Type
Observable<ExactDateFormat>

hourFormat Property

Declaration

hourFormat: ko.Observable<HourFormat>

Property Value

Type
Observable<HourFormat>

monthFormat Property

Declaration

monthFormat: ko.Observable<MonthFormat>

Property Value

Type
Observable<MonthFormat>

quarterFormat Property

Declaration

quarterFormat: ko.Observable<QuarterFormat>

Property Value

Type
Observable<QuarterFormat>

yearFormat Property

Declaration

yearFormat: ko.Observable<YearFormat>

Property Value

Type
Observable<YearFormat>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray