Package | Description |
---|---|
org.joda.time.format |
Provides printing and parsing support for instants and durations.
|
Modifier and Type | Method and 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 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.
|
Constructor and Description |
---|
DateTimeFormatter(DateTimePrinter printer,
DateTimeParser parser)
Creates a new formatter, however you will normally use the factory
or the builder.
|
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.