|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DateSentence
Sentences that contains date information. Notice that some sentences may contain only time without the date.
TimeSentence| Field Summary |
|---|
| Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
| Method Summary | |
|---|---|
Date |
getDate()
Parses the date information from sentence fields and returns a Date. |
void |
setDate(Date date)
Set date. |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString |
| Method Detail |
|---|
Date getDate()
Date.
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.void setDate(Date date)
date - Date
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||