public class TLcdARINCLonLatFormatter extends Object
String
from a
given longitude or latitude.Constructor and Description |
---|
TLcdARINCLonLatFormatter()
Constructs a new
TLcdARINCLonLatFormatter . |
Modifier and Type | Method and Description |
---|---|
static String |
formatLat(double aLat)
Formats a latitude value to produce a
String as Nddmmssss. |
static String |
formatLon(double aLon)
Formats a longitude value to produce a
String as Edddmmssss. |
static boolean |
isTraceOn()
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
static void |
setTraceOn(boolean aClassTraceOn)
Deprecated.
This method has been deprecated. It is recommended to use the
standard Java logging framework directly.
|
public TLcdARINCLonLatFormatter()
TLcdARINCLonLatFormatter
.public static void setTraceOn(boolean aClassTraceOn)
true
then all log messages are recorded, otherwise only
the informative, warning and error messages are recorded.aClassTraceOn
- if true then all log messages are recorded,
otherwise only the informative, warning and error messages are recorded.public static boolean isTraceOn()
true
if tracing is enabled for this class.public static String formatLat(double aLat)
String
as Nddmmssss.aLat
- The latitude value to format.String
.public static String formatLon(double aLon)
String
as Edddmmssss.aLon
- The longitude value to format.String
.