Package | Description |
---|---|
org.joda.time.format |
Provides printing and parsing support for instants and durations.
|
Modifier and Type | Method | Description |
---|---|---|
DateTimeParser |
DateTimeFormatter.getParser() |
Gets the internal parser object that performs the real parsing work.
|
DateTimeParser |
DateTimeFormatterBuilder.toParser() |
Internal method to create a DateTimeParser instance using all the
appended elements.
|
Modifier and Type | Method | 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.
|
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 | Description |
---|---|
DateTimeFormatter(DateTimePrinter printer,
DateTimeParser parser) |
Creates a new formatter, however you will normally use the factory
or the builder.
|
Copyright © 2002–2018 Joda.org. All rights reserved.