Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeSpan defines a span of time defined by start and stop time-stamps.

Hierarchy

  • TimeSpan

Index

Constructors

Properties

Methods

Constructors

  • new TimeSpan(start: string, stop: string): TimeSpan
  • Create a new instance.

    Parameters

    • start: string

      the start time.

    • stop: string

      the stop time.

    Returns TimeSpan

Properties

start: string

The start time-stamp in simplified extended ISO format (ISO 8601).

stop: string

The stop time-stamp in simplified extended ISO format (ISO 8601).

TYPE: string = "TS"

The type of objects in this class

Methods

  • toString(): string
  • Convert the object to a string.

    Returns string

    the string form of the object.