documentationfor yFiles for HTML 3.0.0.2

TimeSpan

A structure which represents a time span.

Inheritance Hierarchy
TimeSpan
Implemented Interfaces

Remarks

This is a convertible type that can be used with the following notation(s) in parameter lists, parameter objects or setters.

There are some string formats that are converted to TimeSpan. For example:

'1s'
'0.5m'
'1h'
'1h 20m'
'1:20'
'1:20:30.5'

It is also possible to use a number which will be interpreted in milliseconds.

Type Details

yFiles module
core

See Also

Constructors

Properties

Methods

Constants

Static Methods