cel-ts - v0.1.0-alpha
GitHub
Preparing search index...
TimestampValue
Class TimestampValue
Timestamp value (Unix timestamp in nanoseconds)
Index
Properties
kind
Methods
add
compare
cost
equal
eval
get
Date
get
Day
Of
Month
get
Day
Of
Week
get
Day
Of
Year
get
Full
Year
get
Hours
get
Milliseconds
get
Minutes
get
Month
get
Seconds
id
subtract
to
Date
to
String
type
value
from
Date
from
Seconds
now
of
Properties
Readonly
kind
kind
:
ValueKind
= "timestamp"
Methods
add
add
(
duration
:
DurationValue
)
:
TimestampValue
|
ErrorValue
Parameters
duration
:
DurationValue
Returns
TimestampValue
|
ErrorValue
compare
compare
(
other
:
TimestampValue
)
:
number
Parameters
other
:
TimestampValue
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
Date
getDate
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Day
Of
Month
getDayOfMonth
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Day
Of
Week
getDayOfWeek
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Day
Of
Year
getDayOfYear
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Full
Year
getFullYear
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Hours
getHours
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Milliseconds
getMilliseconds
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Minutes
getMinutes
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Month
getMonth
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
get
Seconds
getSeconds
(
tz
?:
string
)
:
IntValue
Parameters
Optional
tz
:
string
Returns
IntValue
id
id
()
:
number
Returns
number
subtract
subtract
(
other
:
DurationValue
|
TimestampValue
,
)
:
DurationValue
|
TimestampValue
|
ErrorValue
Parameters
other
:
DurationValue
|
TimestampValue
Returns
DurationValue
|
TimestampValue
|
ErrorValue
to
Date
toDate
()
:
Date
Returns
Date
to
String
toString
()
:
string
Returns
string
type
type
()
:
RuntimeType
Returns
RuntimeType
value
value
()
:
bigint
Returns
bigint
Static
from
Date
fromDate
(
date
:
Date
)
:
TimestampValue
Parameters
date
:
Date
Returns
TimestampValue
Static
from
Seconds
fromSeconds
(
seconds
:
number
)
:
TimestampValue
Parameters
seconds
:
number
Returns
TimestampValue
Static
now
now
()
:
TimestampValue
Returns
TimestampValue
Static
of
of
(
nanos
:
bigint
)
:
TimestampValue
Parameters
nanos
:
bigint
Returns
TimestampValue
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
kind
Methods
add
compare
cost
equal
eval
get
Date
get
Day
Of
Month
get
Day
Of
Week
get
Day
Of
Year
get
Full
Year
get
Hours
get
Milliseconds
get
Minutes
get
Month
get
Seconds
id
subtract
to
Date
to
String
type
value
from
Date
from
Seconds
now
of
GitHub
cel-ts - v0.1.0-alpha
Loading...
Timestamp value (Unix timestamp in nanoseconds)