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