Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DateFieldBase<EntityT>

Represents a property with a date value.

Type parameters

  • EntityT: EntityBase

    Type of the entity the field belongs to

Hierarchy

Implements

  • EntityIdentifiable<EntityT>

Index

Constructors

constructor

Properties

Readonly _entity

_entity: EntityT

Readonly _entityConstructor

_entityConstructor: Constructable<EntityT>

Constructor type of the entity the field belongs to

Readonly _fieldName

_fieldName: string

Actual name of the field used in the OData request

Readonly edmType

edmType: EdmTypeShared<ODataVersionOf<EntityT>>

Type of the field according to the metadata description

Methods

equals

  • equals(value: Moment): Filter<EntityT, Moment>

fieldPath

  • fieldPath(): string
  • Path to the field to be used in filter and order by queries. In most cases this will just be the _fieldName itself. However, for complex types for instance, the path is prefixed with the name of the complextype.

    Returns string

    Path to the field to be used in filter and order by queries.

greaterOrEqual

  • greaterOrEqual(value: Moment): Filter<EntityT, Moment>

greaterThan

  • greaterThan(value: Moment): Filter<EntityT, Moment>

lessOrEqual

  • lessOrEqual(value: Moment): Filter<EntityT, Moment>

lessThan

  • lessThan(value: Moment): Filter<EntityT, Moment>

notEquals

  • notEquals(value: Moment): Filter<EntityT, Moment>