public class NMEAMessageHelper
extends java.lang.Object
Constructor and Description |
---|
NMEAMessageHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
createMessage(PacketPTNL ptnl,
java.lang.String src)
Given the trimble PTNL packet, produce a valid external GPS input message.
|
static java.lang.String |
createMessage(PacketRMC rmc,
PacketGGA gga,
java.lang.String src)
Given both the rmc and gga packets, produce a valid external GPS input message.
|
static java.util.Date |
produceStaleDate(java.util.Date d)
Produces a date that is 1 day more than the given date.
|
public static java.util.Date produceStaleDate(java.util.Date d)
d
- the date to formatpublic static java.lang.String createMessage(PacketPTNL ptnl, java.lang.String src)
public static java.lang.String createMessage(PacketRMC rmc, PacketGGA gga, java.lang.String src)