public enum MgrsFormatPrecision extends Enum<MgrsFormatPrecision>
MgrsFormat
.Enum Constant and Description |
---|
Precision1000KM
Precision of 1000 kilometers.
|
Precision100KM
Precision of 100 kilometers.
|
Precision100M
Precision of 100 meters.
|
Precision10KM
Precision of 10 kilometers.
|
Precision10M
Precision of 10 meters.
|
Precision1KM
Precision of 1 kilometer.
|
Precision1M
Precision of 1 meter.
|
PrecisionGridZone
Only the UTM zone number and the latitude band letter are formatted.
|
Modifier and Type | Method and Description |
---|---|
static MgrsFormatPrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MgrsFormatPrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MgrsFormatPrecision Precision1M
For example
public static final MgrsFormatPrecision Precision10M
For example
public static final MgrsFormatPrecision Precision100M
For example
public static final MgrsFormatPrecision Precision1KM
For example
public static final MgrsFormatPrecision Precision10KM
For example
public static final MgrsFormatPrecision Precision100KM
For example
public static final MgrsFormatPrecision Precision1000KM
For example
This precision can be used only to format UTM/UPS strings. See MgrsFormatType
.
public static final MgrsFormatPrecision PrecisionGridZone
For example
This precision can be used only to format UTM/UPS strings. See MgrsFormatType
.
public static MgrsFormatPrecision[] values()
for (MgrsFormatPrecision c : MgrsFormatPrecision.values()) System.out.println(c);
public static MgrsFormatPrecision valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null