Static Member Summary
Static Public Members | ||
public static |
ofDays: * |
|
public static |
ofHours: * |
|
public static |
|
|
public static |
ofMinutes: * |
|
public static |
ofSeconds: * |
|
public static |
ofYears: * |
Constructor Summary
Public Constructor | ||
public |
|
Method Summary
Public Methods | ||
public |
inMilliseconds(): number |
|
public |
isGreaterThan(another: Duration): boolean |
|
public |
isGreaterThanOrEqualTo(another: Duration): boolean |
|
public |
isLessThan(another: Duration): boolean |
|
public |
isLessThanOrEqualTo(another: Duration): boolean |
|
public |
|
|
public |
toString(): string |
Static Public Members
public static ofDays: * source
public static ofHours: * source
public static ofMilliseconds: * source
public static ofMinutes: * source
public static ofSeconds: * source
public static ofYears: * source
Public Constructors
public constructor() source
Public Methods
public isGreaterThan(another: Duration): boolean source
Params:
Name | Type | Attribute | Description |
another | Duration |
Returns:
boolean |
public isGreaterThanOrEqualTo(another: Duration): boolean source
Params:
Name | Type | Attribute | Description |
another | Duration |
Returns:
boolean |
public isLessThan(another: Duration): boolean source
Params:
Name | Type | Attribute | Description |
another | Duration |
Returns:
boolean |
public isLessThanOrEqualTo(another: Duration): boolean source
Params:
Name | Type | Attribute | Description |
another | Duration |
Returns:
boolean |