Constructors
constructor
- new Timestamp(expression?: string | number, tz?: string): BG.charts.Timestamp
Parameters
Optional
expression: string | numberOptional
tz: string
Properties
Methods
getAmount
- getAmount(): number
Returns number
getUnit
- getUnit(): string
Returns string
getValue
- getValue(to?: number): number
Returns number
toString
- toString(): string
Returns string
Static
parse
- parse(expression: string | number, tz?: string): null | BG.charts.Timestamp
Parameters
- expression: string | number
Optional
tz: string
Static
validate
- validate(expression: string | number): boolean
Parameters
- expression: string | number
Returns boolean
Data class containing a timespan