Class RVDateFormattingSpec

Date field formatting specification.

Hierarchy

Index

Constructors

Accessors

Constructors

constructor

Accessors

dateFormat

  • get dateFormat(): null | string
  • set dateFormat(value: null | string): void
  • Date format pattern. Examples:

    'yyyy-MMM-dd' // 2022-Jan-29
    'MM/dd/yy'    // 01/13/22    
    'yyyy-WW'     // 2022-1 (first semester)
    'yyyy-QQ'     // 2022-1 (first quarter)
    'HH:00'       // 17:00
    'HH:mm'       // 01:30
    

    Returns null | string

  • Date format pattern. Examples:

    'yyyy-MMM-dd' // 2022-Jan-29
    'MM/dd/yy'    // 01/13/22    
    'yyyy-WW'     // 2022-1 (first semester)
    'yyyy-QQ'     // 2022-1 (first quarter)
    'HH:00'       // 17:00
    'HH:mm'       // 01:30
    

    Parameters

    • value: null | string

    Returns void

locale

  • get locale(): null | string
  • set locale(value: null | string): void
  • Locale used for numerals and date names. Must be in ISO language - ISO country format. E.g.: 'en-us'.

    Returns null | string

  • Locale used for numerals and date names. Must be in ISO language - ISO country format. E.g.: 'en-us'.

    Parameters

    • value: null | string

    Returns void