Variable TimeFormattingFunctionsConst

TimeFormattingFunctions: {
    hhmmss: ((value: number) => string);
    hhmmssmmm: ((value: number) => string);
    hhmmssmmmuuu: ((value: number) => string);
    hhmmssmmmuuunnn: ((value: number) => string);
} = ...

Collection of formatting functions used with TimeTickStrategy.

Can be referenced in user applications for convenience.

Type declaration

  • hhmmss: ((value: number) => string)
      • (value: number): string
      • Display hours, minutes and seconds.

        '00:00:00'

        Parameters

        • value: number

        Returns string

  • hhmmssmmm: ((value: number) => string)
      • (value: number): string
      • Display hours, minutes, seconds and milliseconds.

        '00:00:00.000'

        Parameters

        • value: number

        Returns string

  • hhmmssmmmuuu: ((value: number) => string)
      • (value: number): string
      • Display hours, minutes, seconds, milliseconds and microseconds.

        '00:00:00.000000'

        Parameters

        • value: number

        Returns string

  • hhmmssmmmuuunnn: ((value: number) => string)
      • (value: number): string
      • Display hours, minutes, seconds, milliseconds, microseconds and nanoseconds.

        '00:00:00.000000000'

        Parameters

        • value: number

        Returns string