arlas-web-contributors / DateExpression
Class: DateExpression
Constructors
new DateExpression()
new DateExpression(
anchorDate
?,translationDuration
?,translationUnit
?,roundingUnit
?):DateExpression
Parameters
anchorDate?
any
translationDuration?
any
translationUnit?
any
roundingUnit?
Returns
Defined in
src/models/models.ts:300
Properties
anchorDate
anchorDate:
string
|number
Defined in
src/models/models.ts:295
roundingUnit
roundingUnit:
DateUnitEnum
Defined in
src/models/models.ts:298
translationDuration
translationDuration:
number
Defined in
src/models/models.ts:296
translationUnit
translationUnit:
DateUnitEnum
Defined in
src/models/models.ts:297
Methods
toMillisecond()
toMillisecond(
roundUp
,useUtc
):number
Parameters
roundUp
boolean
useUtc
boolean
Returns
number
Defined in
src/models/models.ts:326
toString()
toString():
string
Returns
string
Defined in
src/models/models.ts:307
toDateExpression()
static
toDateExpression(expression
):DateExpression
Parameters
expression
string
Returns
Defined in
src/models/models.ts:383