Package | Description |
---|---|
org.joda.time.format |
Provides printing and parsing support for instants and durations.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
InternalParserDateTimeParser
Adapter between old and new printer interface.
|
Modifier and Type | Field and Description |
---|---|
private DateTimeParser |
DateTimeParserInternalParser.underlying |
Modifier and Type | Method and Description |
---|---|
DateTimeParser |
DateTimeFormatter.getParser()
Gets the internal parser object that performs the real parsing work.
|
(package private) DateTimeParser |
DateTimeParserInternalParser.getUnderlying() |
(package private) static DateTimeParser |
InternalParserDateTimeParser.of(InternalParser underlying) |
DateTimeParser |
DateTimeFormatterBuilder.toParser()
Internal method to create a DateTimeParser instance using all the
appended elements.
|
Modifier and Type | Method and Description |
---|---|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.append(DateTimeParser parser)
Appends just a parser.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.append(DateTimePrinter printer,
DateTimeParser parser)
Appends a printer/parser pair.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.append(DateTimePrinter printer,
DateTimeParser[] parsers)
Appends a printer and a set of matching parsers.
|
DateTimeFormatterBuilder |
DateTimeFormatterBuilder.appendOptional(DateTimeParser parser)
Appends just a parser element which is optional.
|
private void |
DateTimeFormatterBuilder.checkParser(DateTimeParser parser)
Checks if the parser is non null and a provider.
|
(package private) static InternalParser |
DateTimeParserInternalParser.of(DateTimeParser underlying) |
long |
DateTimeParserBucket.parseMillis(DateTimeParser parser,
java.lang.CharSequence text)
Parses a datetime from the given text, returning the number of
milliseconds since the epoch, 1970-01-01T00:00:00Z.
|
Constructor and Description |
---|
DateTimeFormatter(DateTimePrinter printer,
DateTimeParser parser)
Creates a new formatter, however you will normally use the factory
or the builder.
|
DateTimeParserInternalParser(DateTimeParser underlying) |