Package org.apache.sis.measure
Class AngleFormat.Field
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
org.apache.sis.measure.FormatField
org.apache.sis.measure.AngleFormat.Field
- All Implemented Interfaces:
Serializable
- Enclosing class:
- AngleFormat
Constants that are used as attribute keys in the iterator returned from
AngleFormat.formatToCharacterIterator(Object)
.- Since:
- 0.3
- Version:
- 0.3
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AngleFormat.Field
Identifies the degrees field, including the degrees symbol (if any).static final AngleFormat.Field
Identifies the hemisphere symbol (if any).static final AngleFormat.Field
Identifies the minutes field, including the minutes symbol (if any).static final AngleFormat.Field
Identifies the seconds field, including the seconds symbol (if any).private static final long
For cross-version compatibility.Fields inherited from class org.apache.sis.measure.FormatField
ALL, field
Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static AngleFormat.Field
forCode
(int field) Returns the field constant for the given numeric identifier.Methods inherited from class org.apache.sis.measure.FormatField
readResolve
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor cross-version compatibility.- See Also:
-
DEGREES
Identifies the degrees field, including the degrees symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where degrees have been written. -
MINUTES
Identifies the minutes field, including the minutes symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where minutes have been written. -
SECONDS
Identifies the seconds field, including the seconds symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where seconds have been written. -
HEMISPHERE
Identifies the hemisphere symbol (if any). When formatting a string, this value may be specified to theFieldPosition
constructor in order to get the bounding index where hemisphere have been written.
-
-
Constructor Details
-
Field
Creates a new field of the given name. The given name shall be identical to the name of the public static constant.
-
-
Method Details
-
forCode
Returns the field constant for the given numeric identifier.
-