Chartbreaker
Guides
Preparing search index...
BG
charts
Timestamp
Class Timestamp
Index
Constructors
constructor
Properties
type
Methods
get
Amount
get
Type
get
Unit
get
Value
to
String
parse
validate
Constructors
constructor
new
Timestamp
(
expression
?:
string
|
number
,
tz
?:
string
)
:
BG
.
charts
.
Timestamp
Data class containing a timespan
Parameters
Optional
expression
:
string
|
number
Optional
tz
:
string
Returns
BG
.
charts
.
Timestamp
Properties
type
type
:
EType
Methods
get
Amount
getAmount
()
:
number
Returns
number
get
Type
getType
()
:
EType
Returns
EType
get
Unit
getUnit
()
:
string
Returns
string
get
Value
getValue
(
to
?:
number
)
:
number
Parameters
Optional
to
:
number
Returns
number
to
String
toString
()
:
string
Returns
string
Static
parse
parse
(
expression
:
string
|
number
,
tz
?:
string
)
:
null
|
BG
.
charts
.
Timestamp
Parameters
expression
:
string
|
number
Optional
tz
:
string
Returns
null
|
BG
.
charts
.
Timestamp
Static
validate
validate
(
expression
:
string
|
number
)
:
boolean
Parameters
expression
:
string
|
number
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
type
Methods
get
Amount
get
Type
get
Unit
get
Value
to
String
parse
validate
Legacy Docs
Impressum
Datenschutz/Privacy
Guides
Chartbreaker
Loading...
Data class containing a timespan