Java org.joda.time.format DateTimeFormatterBuilder fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time.format DateTimeFormatterBuilder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time.format DateTimeFormatterBuilder.

The text is from its open source code.

Constructor

DateTimeFormatterBuilder()
Creates a DateTimeFormatterBuilder.

Method

DateTimeFormatterBuilderappend(DateTimeFormatter formatter)
Appends another formatter.
DateTimeFormatterBuilderappend(DateTimePrinter printer)
Appends just a printer.
DateTimeFormatterBuilderappend(DateTimeParser parser)
Appends just a parser.
DateTimeFormatterBuilderappend(DateTimePrinter printer, DateTimeParser parser)
Appends a printer/parser pair.
DateTimeFormatterBuilderappend(DateTimePrinter printer, DateTimeParser[] parsers)
Appends a printer and a set of matching parsers.
DateTimeFormatterBuilderappendCenturyOfEra(int minDigits, int maxDigits)
Instructs the printer to emit a numeric century of era field.
DateTimeFormatterBuilderappendClockhourOfDay(int minDigits)
Instructs the printer to emit a numeric clockhourOfDay field.
DateTimeFormatterBuilderappendClockhourOfHalfday(int minDigits)
Instructs the printer to emit a numeric clockhourOfHalfday field.
DateTimeFormatterBuilderappendDayOfMonth(int minDigits)
Instructs the printer to emit a numeric dayOfMonth field.
DateTimeFormatterBuilderappendDayOfWeek(int minDigits)
Instructs the printer to emit a numeric dayOfWeek field.
DateTimeFormatterBuilderappendDayOfWeekShortText()
Instructs the printer to emit a short locale-specific dayOfWeek text.
DateTimeFormatterBuilderappendDayOfWeekText()
Instructs the printer to emit a locale-specific dayOfWeek text.
DateTimeFormatterBuilderappendDayOfYear(int minDigits)
Instructs the printer to emit a numeric dayOfYear field.
DateTimeFormatterBuilderappendFixedDecimal(DateTimeFieldType fieldType, int numDigits)
Instructs the printer to emit a field value as a fixed-width decimal number (smaller numbers will be left-padded with zeros), and the parser to expect an unsigned decimal number with the same fixed width.
DateTimeFormatterBuilderappendFractionOfSecond(int minDigits, int maxDigits)
Appends the print/parse of a fractional second.
DateTimeFormatterBuilderappendHalfdayOfDayText()
Instructs the printer to emit a locale-specific AM/PM text, and the parser to expect it.
DateTimeFormatterBuilderappendHourOfDay(int minDigits)
Instructs the printer to emit a numeric hourOfDay field.
DateTimeFormatterBuilderappendHourOfHalfday(int minDigits)
Instructs the printer to emit a numeric hourOfHalfday field.
DateTimeFormatterBuilderappendLiteral(char c)
Instructs the printer to emit a specific character, and the parser to expect it.
DateTimeFormatterBuilderappendLiteral(String text)
Instructs the printer to emit specific text, and the parser to expect it.
DateTimeFormatterBuilderappendMillisOfSecond(int minDigits)
Instructs the printer to emit a numeric millisOfSecond field.
DateTimeFormatterBuilderappendMinuteOfHour(int minDigits)
Instructs the printer to emit a numeric minuteOfHour field.
DateTimeFormatterBuilderappendMonthOfYear(int minDigits)
Instructs the printer to emit a numeric monthOfYear field.
DateTimeFormatterBuilderappendMonthOfYearShortText()
Instructs the printer to emit a locale-specific monthOfYear text.
DateTimeFormatterBuilderappendMonthOfYearText()
Instructs the printer to emit a short locale-specific monthOfYear text.
DateTimeFormatterBuilderappendOptional(DateTimeParser parser)
Appends just a parser element which is optional.
DateTimeFormatterBuilderappendPattern(String pattern)
Calls upon DateTimeFormat to parse the pattern and append the results into this builder.
DateTimeFormatterBuilderappendSecondOfMinute(int minDigits)
Instructs the printer to emit a numeric secondOfMinute field.
DateTimeFormatterBuilderappendSignedDecimal(DateTimeFieldType fieldType, int minDigits, int maxDigits)
Instructs the printer to emit a field value as a decimal number, and the parser to expect a signed decimal number.
DateTimeFormatterBuilderappendTimeZoneName()
Instructs the printer to emit a locale-specific time zone name.
DateTimeFormatterBuilderappendTimeZoneOffset(String zeroOffsetText, boolean showSeparators, int minFields, int maxFields)
Instructs the printer to emit text and numbers to display time zone offset from UTC.
DateTimeFormatterBuilderappendTwoDigitYear(int pivot)
Instructs the printer to emit a numeric year field which always prints and parses two digits.
DateTimeFormatterBuilderappendTwoDigitYear(int pivot, boolean lenientParse)
Instructs the printer to emit a numeric year field which always prints two digits.
DateTimeFormatterBuilderappendWeekOfWeekyear(int minDigits)
Instructs the printer to emit a numeric weekOfWeekyear field.
DateTimeFormatterBuilderappendWeekyear(int minDigits, int maxDigits)
Instructs the printer to emit a numeric weekyear field.
DateTimeFormatterBuilderappendYear(int minDigits, int maxDigits)
Instructs the printer to emit a numeric year field.
DateTimeFormatterBuilderappendYearOfCentury(int minDigits, int maxDigits)
Instructs the printer to emit a numeric year of century field.
booleancanBuildFormatter()
Returns true if toFormatter can be called without throwing an UnsupportedOperationException.
DateTimeFormattertoFormatter()
Constructs a DateTimeFormatter using all the appended elements.