public interface DateSentence extends Sentence
TimeSentence
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR
Modifier and Type | Method and Description |
---|---|
Date |
getDate()
Parses the date information from sentence fields and returns a
Date . |
void |
setDate(Date date)
Set date.
|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isAISSentence, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString
Date getDate()
Date
.DataNotAvailableException
- If the data is
not available.ParseException
- If the field contains
unexpected or illegal value.Copyright (C) 2010-2017 Java Marine API authors. All Rights Reserved.