Uses of Class
org.threeten.bp.format.DateTimeFormatterBuilder
Packages that use DateTimeFormatterBuilder
-
Uses of DateTimeFormatterBuilder in org.threeten.bp.format
Methods in org.threeten.bp.format that return DateTimeFormatterBuilderModifier and TypeMethodDescriptionDateTimeFormatterBuilder.append(DateTimeFormatter formatter)
Appends all the elements of a formatter to the builder.DateTimeFormatterBuilder.appendChronologyId()
Appends the chronology ID to the formatter.DateTimeFormatterBuilder.appendChronologyText(TextStyle textStyle)
Appends the chronology ID, such as 'ISO' or 'ThaiBuddhist', to the formatter.DateTimeFormatterBuilder.appendFraction(TemporalField field, int minWidth, int maxWidth, boolean decimalPoint)
Appends the fractional value of a date-time field to the formatter.DateTimeFormatterBuilder.appendInstant()
Appends an instant using ISO-8601 to the formatter, formatting fractional digits in groups of three.DateTimeFormatterBuilder.appendInstant(int fractionalDigits)
Appends an instant using ISO-8601 to the formatter with control over the number of fractional digits.DateTimeFormatterBuilder.appendLiteral(char literal)
Appends a character literal to the formatter.DateTimeFormatterBuilder.appendLiteral(String literal)
Appends a string literal to the formatter.DateTimeFormatterBuilder.appendLocalized(FormatStyle dateStyle, FormatStyle timeStyle)
Appends a localized date-time pattern to the formatter.DateTimeFormatterBuilder.appendLocalizedOffset(TextStyle style)
Appends the localized zone offset, such as 'GMT+01:00', to the formatter.DateTimeFormatterBuilder.appendOffset(String pattern, String noOffsetText)
Appends the zone offset, such as '+01:00', to the formatter.DateTimeFormatterBuilder.appendOffsetId()
Appends the zone offset, such as '+01:00', to the formatter.DateTimeFormatterBuilder.appendOptional(DateTimeFormatter formatter)
Appends a formatter to the builder which will optionally print/parse.DateTimeFormatterBuilder.appendPattern(String pattern)
Appends the elements defined by the specified pattern to the builder.DateTimeFormatterBuilder.appendText(TemporalField field)
Appends the text of a date-time field to the formatter using the full text style.DateTimeFormatterBuilder.appendText(TemporalField field, Map<Long,String> textLookup)
Appends the text of a date-time field to the formatter using the specified map to supply the text.DateTimeFormatterBuilder.appendText(TemporalField field, TextStyle textStyle)
Appends the text of a date-time field to the formatter.DateTimeFormatterBuilder.appendValue(TemporalField field)
Appends the value of a date-time field to the formatter using a normal output style.DateTimeFormatterBuilder.appendValue(TemporalField field, int width)
Appends the value of a date-time field to the formatter using a fixed width, zero-padded approach.DateTimeFormatterBuilder.appendValue(TemporalField field, int minWidth, int maxWidth, SignStyle signStyle)
Appends the value of a date-time field to the formatter providing full control over printing.DateTimeFormatterBuilder.appendValueReduced(TemporalField field, int width, int maxWidth, int baseValue)
Appends the reduced value of a date-time field to the formatter.DateTimeFormatterBuilder.appendValueReduced(TemporalField field, int width, int maxWidth, ChronoLocalDate baseDate)
Appends the reduced value of a date-time field to the formatter.DateTimeFormatterBuilder.appendZoneId()
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to the formatter.DateTimeFormatterBuilder.appendZoneOrOffsetId()
Appends the time-zone ID, such as 'Europe/Paris' or '+02:00', to the formatter, using the best available zone ID.DateTimeFormatterBuilder.appendZoneRegionId()
Appends the time-zone region ID, such as 'Europe/Paris', to the formatter, rejecting the zone ID if it is aZoneOffset
.DateTimeFormatterBuilder.appendZoneText(TextStyle textStyle)
Appends the time-zone name, such as 'British Summer Time', to the formatter.DateTimeFormatterBuilder.appendZoneText(TextStyle textStyle, Set<ZoneId> preferredZones)
Appends the time-zone name, such as 'British Summer Time', to the formatter.DateTimeFormatterBuilder.optionalEnd()
Ends an optional section.DateTimeFormatterBuilder.optionalStart()
Mark the start of an optional section.DateTimeFormatterBuilder.padNext(int padWidth)
Causes the next added printer/parser to pad to a fixed width using a space.DateTimeFormatterBuilder.padNext(int padWidth, char padChar)
Causes the next added printer/parser to pad to a fixed width.DateTimeFormatterBuilder.parseCaseInsensitive()
Changes the parse style to be case insensitive for the remainder of the formatter.DateTimeFormatterBuilder.parseCaseSensitive()
Changes the parse style to be case sensitive for the remainder of the formatter.DateTimeFormatterBuilder.parseDefaulting(TemporalField field, long value)
Appends a default value for a field to the formatter for use in parsing.DateTimeFormatterBuilder.parseLenient()
Changes the parse style to be lenient for the remainder of the formatter.DateTimeFormatterBuilder.parseStrict()
Changes the parse style to be strict for the remainder of the formatter.