Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeGrid

time grid class

todo:

  • what was the rationale for limiting the grid to positive times?
  • Investigate and see whether we can use it for negative ones as well.

Hierarchy

  • TimeGrid

Index

Properties

Private _dt

_dt: Time[]

Private _isDisposed

_isDisposed: boolean = false

Private _mandatoryTimes

_mandatoryTimes: Time[]

Private _times

_times: Time[]

Accessors

isDisposed

  • get isDisposed(): boolean
  • Returns boolean

Methods

at

  • Parameters

    Returns Time

back

  • Returns Time

closestIndex

  • Parameters

    Returns Size

closestTime

  • Parameters

    Returns Time

dispose

  • dispose(): void
  • Returns void

dt

  • Parameters

    Returns Time

empty

  • empty(): boolean
  • Returns boolean

front

  • Returns Time

index

  • Parameters

    Returns Size

init1

  • Parameters

    Returns TimeGrid

init2

init3

mandatoryTimes

  • mandatoryTimes(): Time[]
  • Returns Time[]

size

  • Returns Size

times

  • Returns Time[]