Class: Duration

eclairjs/streaming. Duration

Duration of time to wait.

Constructor

new Duration(millis)

Parameters:
Name Type Description
millis long
Source:

Methods

div(that) → {double}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
double

greater(that) → {boolean}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
boolean

greaterEq(that) → {boolean}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
boolean

isMultipleOf(that) → {boolean}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
boolean

isZero() → {boolean}

Source:
Returns:
Type
boolean

less(that) → {boolean}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
boolean

lessEq(that) → {boolean}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
boolean

max(that) → {module:eclairjs/streaming.Duration}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
module:eclairjs/streaming.Duration

milliseconds() → {long}

Source:
Returns:
Type
long

min(that) → {module:eclairjs/streaming.Duration}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
module:eclairjs/streaming.Duration

minus(that) → {module:eclairjs/streaming.Duration}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
module:eclairjs/streaming.Duration

plus(that) → {module:eclairjs/streaming.Duration}

Parameters:
Name Type Description
that module:eclairjs/streaming.Duration
Source:
Returns:
Type
module:eclairjs/streaming.Duration

times(times) → {module:eclairjs/streaming.Duration}

Parameters:
Name Type Description
times integer
Source:
Returns:
Type
module:eclairjs/streaming.Duration