# Interface MomentTimezone

interface MomentTimezone {
dataVersion: string;
add(packedZoneString): void;
add(packedZoneString): void;
countries(): string[];
guess(ignoreCache?): string;
link(packedLinkString): void;
link(packedLinkString): void;
load(data): void;
names(): string[];
setDefault(timezone?): Moment;
zone(timezone): null | MomentZone;
zonesForCountry<T>(country, with_offset): T extends true
? MomentZoneOffset[]
: never;
zonesForCountry<T>(country, with_offset?): T extends false
? string[]
: never;
zonesForCountry(country, with_offset?): string[] | MomentZoneOffset[];
(): Moment;
(timezone): Moment;
(date, timezone): Moment;
(date, timezone): Moment;
(date, timezone): Moment;
(date, format, timezone): Moment;
(date, format, strict, timezone): Moment;
(date, format, language, timezone): Moment;
(date, format, language, strict, timezone): Moment;
(date, timezone): Moment;
(date, timezone): Moment;
(date, timezone): Moment;
}

- MomentTimezone(): Moment

- #### Returns Moment

- MomentTimezone(timezone): Moment

- #### Parameters

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: number

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: number[]

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: string

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, format, timezone): Moment

- #### Parameters

  - ##### date: string

  - ##### format: MomentFormatSpecification

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, format, strict, timezone): Moment

- #### Parameters

  - ##### date: string

  - ##### format: MomentFormatSpecification

  - ##### strict: boolean

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, format, language, timezone): Moment

- #### Parameters

  - ##### date: string

  - ##### format: MomentFormatSpecification

  - ##### language: string

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, format, language, strict, timezone): Moment

- #### Parameters

  - ##### date: string

  - ##### format: MomentFormatSpecification

  - ##### language: string

  - ##### strict: boolean

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: Date

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: Moment

  - ##### timezone: string

  #### Returns Moment

- MomentTimezone(date, timezone): Moment

- #### Parameters

  - ##### date: any

  - ##### timezone: string

  #### Returns Moment

#####
Index

### Properties

dataVersion

### Methods

add
countries
guess
link
load
names
setDefault
zone
zonesForCountry

## Properties

### dataVersion

dataVersion: string

## Methods

### add

- add(packedZoneString): void

- #### Parameters

  - ##### packedZoneString: string

  #### Returns void

- add(packedZoneString): void

- #### Parameters

  - ##### packedZoneString: string[]

  #### Returns void

### countries

- countries(): string[]

- #### Returns string[]

### guess

- guess(ignoreCache?): string

- #### Parameters

  - ##### `Optional` ignoreCache: boolean

  #### Returns string

### link

- link(packedLinkString): void

- #### Parameters

  - ##### packedLinkString: string

  #### Returns void

- link(packedLinkString): void

- #### Parameters

  - ##### packedLinkString: string[]

  #### Returns void

### load

- load(data): void

- #### Parameters

  - ##### data: {
    links: string[];
    version: string;
    zones: string[];
    }

    - ##### links: string[]

    - ##### version: string

    - ##### zones: string[]

  #### Returns void

### names

- names(): string[]

- #### Returns string[]

### setDefault

- setDefault(timezone?): Moment

- #### Parameters

  - ##### `Optional` timezone: string

  #### Returns Moment

### zone

- zone(timezone): null | MomentZone

- #### Parameters

  - ##### timezone: string

  #### Returns null | MomentZone

### zonesForCountry

- zonesForCountry<T>(country, with_offset): T extends true
  ? MomentZoneOffset[]
  : never

- #### Type Parameters

  - #### T extends true

  #### Parameters

  - ##### country: string

  - ##### with_offset: T

  #### Returns T extends true
  ? MomentZoneOffset[]
  : never

- zonesForCountry<T>(country, with_offset?): T extends false
  ? string[]
  : never

- #### Type Parameters

  - #### T extends false

  #### Parameters

  - ##### country: string

  - ##### `Optional` with_offset: T

  #### Returns T extends false
  ? string[]
  : never

- zonesForCountry(country, with_offset?): string[] | MomentZoneOffset[]

- #### Parameters

  - ##### country: string

  - ##### `Optional` with_offset: boolean

  #### Returns string[] | MomentZoneOffset[]