Class: Timer

Iroha. Timer

new Timer()

Source:

Members

<private> started :Date

started time of this timer.
Type:
  • Date
Source:

Methods

getSeconds() → {number}

get acquire time progress in second.
Source:
Returns:
acquire time progress in second.
Type
number

getTime() → {number}

get acquire time progress in milisecond.
Source:
Returns:
acquire time progress in milisecond.
Type
number

init() → {Iroha.Timer}

initialize
Source:
Returns:
this instance
Type
Iroha.Timer

reset() → {Iroha.Timer}

reset timer.
Source:
Returns:
this instance
Type
Iroha.Timer