Example usage for Java org.joda.time.format DateTimeFormatterBuilder fields, constructors, methods, implement or subclass
The text is from its open source code.
DateTimeFormatterBuilder() Creates a DateTimeFormatterBuilder. |
DateTimeFormatterBuilder | append(DateTimeFormatter formatter) Appends another formatter. |
DateTimeFormatterBuilder | append(DateTimePrinter printer) Appends just a printer. |
DateTimeFormatterBuilder | append(DateTimeParser parser) Appends just a parser. |
DateTimeFormatterBuilder | append(DateTimePrinter printer, DateTimeParser parser) Appends a printer/parser pair. |
DateTimeFormatterBuilder | append(DateTimePrinter printer, DateTimeParser[] parsers) Appends a printer and a set of matching parsers. |
DateTimeFormatterBuilder | appendCenturyOfEra(int minDigits, int maxDigits) Instructs the printer to emit a numeric century of era field. |
DateTimeFormatterBuilder | appendClockhourOfDay(int minDigits) Instructs the printer to emit a numeric clockhourOfDay field. |
DateTimeFormatterBuilder | appendClockhourOfHalfday(int minDigits) Instructs the printer to emit a numeric clockhourOfHalfday field. |
DateTimeFormatterBuilder | appendDayOfMonth(int minDigits) Instructs the printer to emit a numeric dayOfMonth field. |
DateTimeFormatterBuilder | appendDayOfWeek(int minDigits) Instructs the printer to emit a numeric dayOfWeek field. |
DateTimeFormatterBuilder | appendDayOfWeekShortText() Instructs the printer to emit a short locale-specific dayOfWeek text. |
DateTimeFormatterBuilder | appendDayOfWeekText() Instructs the printer to emit a locale-specific dayOfWeek text. |
DateTimeFormatterBuilder | appendDayOfYear(int minDigits) Instructs the printer to emit a numeric dayOfYear field. |
DateTimeFormatterBuilder | appendFixedDecimal(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. |
DateTimeFormatterBuilder | appendFractionOfSecond(int minDigits, int maxDigits) Appends the print/parse of a fractional second. |
DateTimeFormatterBuilder | appendHalfdayOfDayText() Instructs the printer to emit a locale-specific AM/PM text, and the parser to expect it. |
DateTimeFormatterBuilder | appendHourOfDay(int minDigits) Instructs the printer to emit a numeric hourOfDay field. |
DateTimeFormatterBuilder | appendHourOfHalfday(int minDigits) Instructs the printer to emit a numeric hourOfHalfday field. |
DateTimeFormatterBuilder | appendLiteral(char c) Instructs the printer to emit a specific character, and the parser to expect it. |
DateTimeFormatterBuilder | appendLiteral(String text) Instructs the printer to emit specific text, and the parser to expect it. |
DateTimeFormatterBuilder | appendMillisOfSecond(int minDigits) Instructs the printer to emit a numeric millisOfSecond field. |
DateTimeFormatterBuilder | appendMinuteOfHour(int minDigits) Instructs the printer to emit a numeric minuteOfHour field. |
DateTimeFormatterBuilder | appendMonthOfYear(int minDigits) Instructs the printer to emit a numeric monthOfYear field. |
DateTimeFormatterBuilder | appendMonthOfYearShortText() Instructs the printer to emit a locale-specific monthOfYear text. |
DateTimeFormatterBuilder | appendMonthOfYearText() Instructs the printer to emit a short locale-specific monthOfYear text. |
DateTimeFormatterBuilder | appendOptional(DateTimeParser parser) Appends just a parser element which is optional. |
DateTimeFormatterBuilder | appendPattern(String pattern) Calls upon DateTimeFormat to parse the pattern and append the results into this builder. |
DateTimeFormatterBuilder | appendSecondOfMinute(int minDigits) Instructs the printer to emit a numeric secondOfMinute field. |
DateTimeFormatterBuilder | appendSignedDecimal(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. |
DateTimeFormatterBuilder | appendTimeZoneName() Instructs the printer to emit a locale-specific time zone name. |
DateTimeFormatterBuilder | appendTimeZoneOffset(String zeroOffsetText, boolean showSeparators, int minFields, int maxFields) Instructs the printer to emit text and numbers to display time zone offset from UTC. |
DateTimeFormatterBuilder | appendTwoDigitYear(int pivot) Instructs the printer to emit a numeric year field which always prints and parses two digits. |
DateTimeFormatterBuilder | appendTwoDigitYear(int pivot, boolean lenientParse) Instructs the printer to emit a numeric year field which always prints two digits. |
DateTimeFormatterBuilder | appendWeekOfWeekyear(int minDigits) Instructs the printer to emit a numeric weekOfWeekyear field. |
DateTimeFormatterBuilder | appendWeekyear(int minDigits, int maxDigits) Instructs the printer to emit a numeric weekyear field. |
DateTimeFormatterBuilder | appendYear(int minDigits, int maxDigits) Instructs the printer to emit a numeric year field. |
DateTimeFormatterBuilder | appendYearOfCentury(int minDigits, int maxDigits) Instructs the printer to emit a numeric year of century field. |
boolean | canBuildFormatter() Returns true if toFormatter can be called without throwing an UnsupportedOperationException. |
DateTimeFormatter | toFormatter() Constructs a DateTimeFormatter using all the appended elements. |