Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a time interval.

Hierarchy

  • Duration

Index

Constructors

Properties

#ms: number

Accessors

  • get days(): number
  • get hours(): number
  • get minutes(): number
  • get ms(): number
  • get seconds(): number
  • get totalDays(): number
  • Gets the value of the current Duration object expressed in whole and fractional days.

    Returns number

  • get totalHours(): number
  • Gets the value of the current Duration object expressed in whole and fractional hours.

    Returns number

  • get totalMinutes(): number
  • Gets the value of the current Duration object expressed in whole and fractional minutes.

    Returns number

  • get totalMs(): number
  • get totalSeconds(): number
  • Gets the value of the current Duration object expressed in whole and fractional seconds.

    Returns number

Generated using TypeDoc