TimeFrameUtils

Utility object for easily creating TimeFrame objects of different lengths and units.

Properties

Link copied to clipboard

Returns a TimeFrame representing the number of days given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of hours given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of microseconds given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of milliseconds given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of minutes given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of nanoseconds given by the integer value

Link copied to clipboard

Returns a TimeFrame representing the number of seconds given by the integer value

Functions

Link copied to clipboard

Converts the current TimeFrame to the give unit

Link copied to clipboard

Converts the current TimeFrame to days

Link copied to clipboard

Converts the current TimeFrame to hours

Link copied to clipboard

Converts the current TimeFrame to milliseconds

Link copied to clipboard

Converts the current TimeFrame to minutes

Link copied to clipboard

Converts the current TimeFrame to seconds