All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.squarespace.cldrengine.api.TimeZoneInfo Maven / Gradle / Ivy

The newest version!
package com.squarespace.cldrengine.api;

import java.util.Collections;
import java.util.List;

public class TimeZoneInfo {

  private final String id;
  private final ExemplarCity city;
  private final List countries;
  private final double latitude;
  private final double longitude;
  private final long stdoffset;
  private final String metazone;
  private final MetazoneNames names;

  public TimeZoneInfo(String id, ExemplarCity city, List countries,
      double latitude, double longitude, long stdoffset, String metazone,
      MetazoneNames names) {
    this.id = id;
    this.city = city;
    this.countries = Collections.unmodifiableList(countries);
    this.latitude = latitude;
    this.longitude = longitude;
    this.stdoffset = stdoffset;
    this.metazone = metazone;
    this.names = names;
  }

  public String id() {
    return id;
  }

  public ExemplarCity city() {
    return city;
  }

  public List countries() {
    return countries;
  }

  public double latitude() {
    return latitude;
  }

  public double longitude() {
    return longitude;
  }

  public long stdoffset() {
    return stdoffset;
  }

  public String metazone() {
    return metazone;
  }

  public MetazoneNames names() {
    return names;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy