T - generic type of chronological entity to be parsedpublic interface ChronoParser<T>
Interpretes a text as chronological entity.
ChronoEntity| Modifier and Type | Method and Description |
|---|---|
T |
parse(CharSequence text,
ParseLog status,
AttributeQuery attributes)
Interpretes given text starting at the position defined in
parse-log.
|
T parse(CharSequence text, ParseLog status, AttributeQuery attributes)
Interpretes given text starting at the position defined in parse-log.
Implementation note: Any implementation will parse the text first
at the position status.getPosition() and then set the new
position in the parse log if successful. In case of error the
error index in the parse log will be updated instead.
text - text to be parsedstatus - parser information (always as new instance)attributes - control attributesnull if parsing does not workIndexOutOfBoundsException - if the start position is at end of
text or even behindCopyright © 2014. All rights reserved.