Commonly used formatting methods. Explicitly not part of the public API

Hierarchy

  • Formatters

Constructors

Methods

  • Parameters

    • date: {
          epochMillis: number;
      }
      • epochMillis: number

    Returns string

  • Parameters

    • ms: number
    • Optional showSeconds: boolean
    • Optional showMilliSeconds: boolean

    Returns string

  • Parameters

    • input: {
          amount: number;
          currency: string;
      }
      • amount: number
      • currency: string

    Returns string

  • Parameters

    • date1: string | number | Date
    • date2: string | number | Date

    Returns string

  • Parameters

    • ms: number
    • Optional showSeconds: boolean

    Returns string

Generated using TypeDoc