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

jnr.constants.platform.linux.Locale Maven / Gradle / Ivy

There is a newer version: 0.10.4
Show newest version
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2018-09-12 11:05:11 +0200
package jnr.constants.platform.linux;
public enum Locale implements jnr.constants.Constant {
LC_CTYPE(0L),
LC_NUMERIC(1L),
LC_TIME(2L),
LC_COLLATE(3L),
LC_MONETARY(4L),
LC_MESSAGES(5L),
LC_ALL(6L),
LC_PAPER(7L),
LC_NAME(8L),
LC_ADDRESS(9L),
LC_TELEPHONE(10L),
LC_MEASUREMENT(11L),
LC_IDENTIFICATION(12L);
private final long value;
private Locale(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 12L;

static final class StringTable {
  public static final java.util.Map descriptions = generateTable();
  public static final java.util.Map generateTable() {
    java.util.Map map = new java.util.EnumMap(Locale.class);
  map.put(LC_CTYPE, "LC_CTYPE");
  map.put(LC_NUMERIC, "LC_NUMERIC");
  map.put(LC_TIME, "LC_TIME");
  map.put(LC_COLLATE, "LC_COLLATE");
  map.put(LC_MONETARY, "LC_MONETARY");
  map.put(LC_MESSAGES, "LC_MESSAGES");
  map.put(LC_ALL, "LC_ALL");
  map.put(LC_PAPER, "LC_PAPER");
  map.put(LC_NAME, "LC_NAME");
  map.put(LC_ADDRESS, "LC_ADDRESS");
  map.put(LC_TELEPHONE, "LC_TELEPHONE");
  map.put(LC_MEASUREMENT, "LC_MEASUREMENT");
  map.put(LC_IDENTIFICATION, "LC_IDENTIFICATION");
    return map;
  }
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy