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

com.squarespace.cldrengine.internal.Internals Maven / Gradle / Ivy

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

import com.squarespace.cldrengine.calendars.CalendarInternals;
import com.squarespace.cldrengine.calendars.DateFieldInternals;
import com.squarespace.cldrengine.general.GeneralInternals;
import com.squarespace.cldrengine.numbers.NumberInternals;
import com.squarespace.cldrengine.units.UnitInternals;

public class Internals {

  public final SchemaConfig config;
  public final boolean debug;

  public final String checksum;
  public final Schema schema;

  public final CalendarInternals calendars;
  public final DateFieldInternals dateFields;
  public final GeneralInternals general;
  public final NumberInternals numbers;
  public final UnitInternals units;

  public Internals(SchemaConfig config, String version, boolean debug) {
    this.config = config;
    this.debug = debug;
    this.checksum = config.checksum(version);
    this.schema = Meta.SCHEMA;
    this.calendars = new CalendarInternals(this);
    this.dateFields = new DateFieldInternals(this);
    this.general = new GeneralInternals(this);
    this.numbers = new NumberInternals(this);
    this.units = new UnitInternals(this);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy