Package com.luciad.format.arinc.util
Class TLcdARINCLonLatFormatter
java.lang.Object
com.luciad.format.arinc.util.TLcdARINCLonLatFormatter
This class provides methods to retrieve a
String from a
given longitude or latitude.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatLat(double aLat) Formats a latitude value to produce aStringas Nddmmssss.static StringformatLon(double aLon) Formats a longitude value to produce aStringas Edddmmssss.static booleanDeprecated.This method has been deprecated.static voidsetTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated.
-
Constructor Details
-
TLcdARINCLonLatFormatter
public TLcdARINCLonLatFormatter()Constructs a newTLcdARINCLonLatFormatter.
-
-
Method Details
-
setTraceOn
public static void setTraceOn(boolean aClassTraceOn) Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Enables tracing for all instances of this class. If the argument istruethen all log messages are recorded, otherwise only the informative, warning and error messages are recorded.- Parameters:
aClassTraceOn- if true then all log messages are recorded, otherwise only the informative, warning and error messages are recorded.
-
isTraceOn
public static boolean isTraceOn()Deprecated.This method has been deprecated. It is recommended to use the standard Java logging framework directly.Returnstrueif tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
formatLat
Formats a latitude value to produce aStringas Nddmmssss.- Parameters:
aLat- The latitude value to format.- Returns:
- The formatted latitude value
String.
-
formatLon
Formats a longitude value to produce aStringas Edddmmssss.- Parameters:
aLon- The longitude value to format.- Returns:
- The formatted longitude value
String.
-