Skip to main content
Pentaho Documentation

IDate

pentaho.type.spec.IDate

The spec.IDate interface describes a date value in object form.

Source: doc-js/pentaho/type/spec/IDate.jsdoc, line 17

Extends

Members

Name Description
_ : pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

f : string

An alias for formatted.

formatted : string

The formatted value.

v : Date | string

An alias for value.

value : Date | string

The underlying date value.

Members Details

_: pentaho.type.spec.UTypeReference

An inline type reference of the value's type.

Source: doc-js/pentaho/type/spec/IInstance.jsdoc, line 27

Inherited From: pentaho.type.spec.IInstance#_

f: string

An alias for formatted.

Source: doc-js/pentaho/type/spec/ISimple.jsdoc, line 78

Inherited From: pentaho.type.spec.ISimple#f

formatted: string

The formatted value.

When unspecified, or specified as a Nully or empty value, it is taken to be null.

Property f is an alias for this one.

Only one of f or formatted can be specified.

Source: doc-js/pentaho/type/spec/ISimple.jsdoc, line 56

Inherited From: pentaho.type.spec.ISimple#formatted

v: Date | string

An alias for value.

Source: doc-js/pentaho/type/spec/IDate.jsdoc, line 53

Overrides: pentaho.type.spec.ISimple#v

value: Date | string

The underlying date value.

Property v is an alias for this one.

One and only one of v or value must be specified, non-Nully.

The value can either be a native JavaScript Date or a string in a format based upon a simplification of the ISO-8601 Extended Format, as defined by ECMA-262.

Examples of dates in this format include:

"2016-03-11" // Date only

"2016-03-11T17:28:10Z" // Date plus time in UTC zero offset

When serialized as JSON, the canonical form is a string in ISO-8601 format, with all fields defined, and with time in UTC.

Source: doc-js/pentaho/type/spec/IDate.jsdoc, line 26

Overrides: pentaho.type.spec.ISimple#value