|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ZDASentence
UTC time and date with local time zone offset.
Example:
$GPZDA,032915,07,08,2004,00,00*4D
| Field Summary |
|---|
| Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
| Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
ADDRESS_FIELD, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
| Method Summary | |
|---|---|
int |
getLocalZoneHours()
Get offset to local time zone in hours, from +/- 0 to +/- 13 hours. |
int |
getLocalZoneMinutes()
Get offset to local time zone in minutes, from 0 to +/- 59. |
void |
setLocalZoneHours(int hours)
Set offset to local time zone in hours. |
void |
setLocalZoneMinutes(int minutes)
Set offset to local time zone in minutes. |
Date |
toDate()
Get date and time as Date. |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.TimeSentence |
|---|
getTime, setTime |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.DateSentence |
|---|
getDate, setDate |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, setTalkerId, toSentence, toString |
| Method Detail |
|---|
int getLocalZoneHours()
DataNotAvailableException - If the data is not available.
ParseException - If the field contains unexpected or illegal value.int getLocalZoneMinutes()
DataNotAvailableException - If the data is not available.
ParseException - If the field contains unexpected or illegal value.void setLocalZoneHours(int hours)
hours - Offset, from 0 to +/- 13 hours.void setLocalZoneMinutes(int minutes)
minutes - Offset, from 0 to +/- 59 minutes.Date toDate()
Date.
Date
DataNotAvailableException - If any of the date/time values is not
available.
ParseException - If the any of the date/time fields contains
invalid value.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||