A Timezone service is a component of your application's backend that provides programmatic access to the Timezones API. It typically includes methods for retrieving a list of timezones, along with their associated UTC offsets and daylight saving time settings.

Constructors

Properties

loggerFactory: WinstonLoggerFactory

Methods

  • Get timezone by name

    Parameters

    • name: string

      timezone name (e.g. 'America/New_York'')

    Returns MaybeNull<Timezone>

    timezone

  • Returns void