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

jnr.constants.platform.openbsd.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-20 14:44:23 -0600
package jnr.constants.platform.openbsd;
public enum Locale implements jnr.constants.Constant {
LC_CTYPE(2L),
LC_NUMERIC(4L),
LC_TIME(5L),
LC_COLLATE(1L),
LC_MONETARY(3L),
LC_MESSAGES(6L),
LC_ALL(0L);
// LC_PAPER not defined
// LC_NAME not defined
// LC_ADDRESS not defined
// LC_TELEPHONE not defined
// LC_MEASUREMENT not defined
// LC_IDENTIFICATION not defined
private final long value;
private Locale(long value) { this.value = value; }
public static final long MIN_VALUE = 0L;
public static final long MAX_VALUE = 6L;

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");
    return map;
  }
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int value() { return (int) value; }
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