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

  • Get a string representation of this property suitable for 'reading'

    Parameters

    Returns string

formatForWrite

  • Get a string representation of this property suitable for 'writing'

    Parameters

    Returns string

formatValueForRead

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

    Returns any

Private getSupportedLocale

  • getSupportedLocale(locale: any): string
  • Parameters

    • locale: any

    Returns 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
  • Returns void

toString

  • Parameters

    Returns string

toStringRead

  • Render this value as a string

    Parameters

    Returns string

toStringWrite

  • Parameters

    Returns string

Static singleton

Generated using TypeDoc