Options
All
  • Public
  • Public/Protected
  • All
Menu

Module core/metrics/types/datetime

Index

Type aliases

DatetimeInternalRepresentation

DatetimeInternalRepresentation: { date: string; timeUnit: default; timezone: number }

Type declaration

  • date: string
  • timeUnit: default
  • timezone: number

Functions

formatTimezoneOffset

  • formatTimezoneOffset(timezone: number): string
  • Builds the formatted timezone offset string frim a given timezone.

    The format of the resulting string is +02:00.

    Parameters

    • timezone: number

      A number representing the timezone offset to format, this is expected to be in minutes.

    Returns string

    The formatted timezone offset string.

Generated using TypeDoc