Type alias ZoneData

ZoneData: {
    aliases: string[];
    currentOffset: string;
    id: string;
    location: {
        comment: string;
        countryCode: string;
        countryName: string;
        latitude: number;
        longitude: number;
    };
    nextTransition: object;
    offsets: string[];
} | undefined

Type definition for ZoneData.

Represents the type definition for ZoneData, which can either be an object containing timezone details such as id, aliases, location, offsets, currentOffset, and nextTransition; or undefined if no data is available.

Type declaration

  • aliases: string[]
  • currentOffset: string
  • id: string
  • location: {
        comment: string;
        countryCode: string;
        countryName: string;
        latitude: number;
        longitude: number;
    }
    • comment: string
    • countryCode: string
    • countryName: string
    • latitude: number
    • longitude: number
  • nextTransition: object
  • offsets: string[]