Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PropertyFormatter

Index

Constructors

Private constructor

Properties

Private _catavoltApi

_catavoltApi: CatavoltApi

decimalFormat

decimalFormat: string[]

decimalFormatGeneric

decimalFormatGeneric: string

moneyFormat

moneyFormat: string[]

moneyFormatGeneric

moneyFormatGeneric: string

percentFormat

percentFormat: string[]

percentFormatGeneric

percentFormatGeneric: string

wholeFormat

wholeFormat: string

Static Private _singleton

_singleton: PropertyFormatter

Methods

formatForRead

formatForWrite

formatValueForRead

  • formatValueForRead(value: any, propDef: PropertyDef): any

Private getSupportedLocale

  • getSupportedLocale(locale: any): string

parse

  • Attempt to construct (or preserve) the appropriate data type given primitive (or already constructed) value. Note this must be done here and not at 'write' time because it requires the knowledge of the PropDef

    Parameters

    Returns any

resetFormats

  • resetFormats(): void

toString

toStringRead

toStringWrite

Static singleton

Generated using TypeDoc