| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DateTimeParser
Internal interface for parsing textual representations of datetimes.
 Application users will rarely use this class directly. Instead, you
 will use one of the factory classes to create a DateTimeFormatter.
 
 The factory classes are:
 - DateTimeFormatterBuilder
 - DateTimeFormat
 - ISODateTimeFormat
DateTimeFormatter, 
DateTimeFormatterBuilder, 
DateTimeFormat| Method Summary | |
|---|---|
 int | 
estimateParsedLength()
Returns the expected maximum number of characters consumed.  | 
 int | 
parseInto(DateTimeParserBucket bucket,
          String text,
          int position)
Parse an element from the given text, saving any fields into the given DateTimeParserBucket.  | 
| Method Detail | 
|---|
int estimateParsedLength()
int parseInto(DateTimeParserBucket bucket,
              String text,
              int position)
If it fails, the return value is negative. To determine the position where the parse failed, apply the one's complement operator (~) on the return value.
bucket - field are saved into this, not nulltext - the text to parse, not nullposition - position to start parsing from
IllegalArgumentException - if any field is out of range
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||