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
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
formatLat
(double aLat) Formats a latitude value to produce aString
as Nddmmssss.static String
formatLon
(double aLon) Formats a longitude value to produce aString
as Edddmmssss.static boolean
Deprecated.This method has been deprecated.static void
setTraceOn
(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 istrue
then 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.Returnstrue
if tracing is enabled for this class.- Returns:
- true if tracing is enabled for this class, false otherwise.
-
formatLat
Formats a latitude value to produce aString
as Nddmmssss.- Parameters:
aLat
- The latitude value to format.- Returns:
- The formatted latitude value
String
.
-
formatLon
Formats a longitude value to produce aString
as Edddmmssss.- Parameters:
aLon
- The longitude value to format.- Returns:
- The formatted longitude value
String
.
-