DataDisplayFormatter class

Index

Constructors

Public Methods

Constructors


constructor

⊕ new DataDisplayFormatter(options?: DataDisplayFormatterOptions): DataDisplayFormatter

Parameters:


Public Methods


dateTimeToStr

▸ dateTimeToStr(dateTime: Date,dataType: DataType): string

Parameters:

Returns string


numberToStr

▸ numberToStr(number: Number): string

Parameters:

  • number: Number

Returns string