Represents a time interval.

Hierarchy

  • TimeSpan

Constructors

Properties

elapsed: Milliseconds = ...

Methods

  • Gets the value of the current TimeSpan expressed in whole and fractional days.

    Returns

    The total number of days represented by this instance.

    Returns Days

  • Gets the value of the current TimeSpan expressed in whole and fractional hours.

    Returns

    The total number of hours represented by this instance.

    Returns Hours

  • Converts this time span into a string according to ISO-8601 duration standard.

    Returns

    The ISO-8601 duration string.

    Returns string

Generated using TypeDoc