cel-ts - v0.1.0-alpha
GitHub
Preparing search index...
DurationValue
Class DurationValue
Duration value (nanoseconds)
Index
Properties
kind
Zero
Methods
add
compare
cost
equal
eval
get
Hours
get
Milliseconds
get
Minutes
get
Seconds
id
negate
subtract
to
String
type
value
from
Millis
from
Seconds
of
Properties
Readonly
kind
kind
:
ValueKind
= "duration"
Static
Readonly
Zero
Zero
:
DurationValue
= ...
Methods
add
add
(
other
:
DurationValue
)
:
DurationValue
|
ErrorValue
Parameters
other
:
DurationValue
Returns
DurationValue
|
ErrorValue
compare
compare
(
other
:
DurationValue
)
:
number
Parameters
other
:
DurationValue
Returns
number
cost
cost
()
:
number
Returns
number
equal
equal
(
other
:
Value
)
:
Value
Parameters
other
:
Value
Returns
Value
eval
eval
(
_activation
:
Activation
)
:
Value
Parameters
_activation
:
Activation
Returns
Value
get
Hours
getHours
()
:
IntValue
Returns
IntValue
get
Milliseconds
getMilliseconds
()
:
IntValue
Returns
IntValue
get
Minutes
getMinutes
()
:
IntValue
Returns
IntValue
get
Seconds
getSeconds
()
:
IntValue
Returns
IntValue
id
id
()
:
number
Returns
number
negate
negate
()
:
DurationValue
|
ErrorValue
Returns
DurationValue
|
ErrorValue
subtract
subtract
(
other
:
DurationValue
)
:
DurationValue
|
ErrorValue
Parameters
other
:
DurationValue
Returns
DurationValue
|
ErrorValue
to
String
toString
()
:
string
Returns
string
type
type
()
:
RuntimeType
Returns
RuntimeType
value
value
()
:
bigint
Returns
bigint
Static
from
Millis
fromMillis
(
millis
:
number
)
:
DurationValue
Parameters
millis
:
number
Returns
DurationValue
Static
from
Seconds
fromSeconds
(
seconds
:
number
)
:
DurationValue
Parameters
seconds
:
number
Returns
DurationValue
Static
of
of
(
nanos
:
bigint
)
:
DurationValue
Parameters
nanos
:
bigint
Returns
DurationValue
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
kind
Zero
Methods
add
compare
cost
equal
eval
get
Hours
get
Milliseconds
get
Minutes
get
Seconds
id
negate
subtract
to
String
type
value
from
Millis
from
Seconds
of
GitHub
cel-ts - v0.1.0-alpha
Loading...
Duration value (nanoseconds)