documentationfor yFiles for HTML 2.6

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
yfiles-umd modules
All modules
Legacy UMD name
yfiles.lang.TimeSpan

See Also

Constructors

Properties

Methods

Constants

Static Methods