Date Time Parser Builder
Functions
Try each of the parsers defined by childParsers until one succeeds. If none succeed, parsing is considered to have failed.
Try each of the parsers defined by builders until one succeeds. If none succeed, parsing is considered to have failed.
Force parsing to be case-insensitive within this block.
Force parsing to be case-sensitive within this block.
Use a parser that has been defined outside of this builder.
Parse a decimal number.
Parse localized text associated with a particular DateTimeField in any of the specified styles. If successful, the field's value will be populated. If no text is known for the field or a match can't be found, the parsing operation will return an error.
Make parsing optional within a block.
Parse a character indicating the sign of a number.
Parse a variable length string.
Parse a whole number of fixed length.
Parse a whole number of variable length.
Extensions
Parse the AM or PM of the day from its textual representation.
Parse a day of the month value with a variable number of digits.
Parse a day of the month value with a fixed number of digits.
Parse a day of week number with a fixed number of digits.
Parse a day of the year value with a variable number of digits.
Parse a day of the year value with a fixed number of digits.
Parse a duration of fractional seconds.
Parse a duration of whole hours.
Parse a duration of whole minutes.
Parse a duration of whole seconds.
Parse an era from its textual representation in any of the specified styles.
Parse an era from its textual representation in a specific style.
Parse a fractional second of the minute.
Parse a fractional second of the minute with a fixed number of characters representing the whole second.
Parse an hour of the day with a variable number of digits.
Parse an hour of the day with a fixed number of digits.
Parse a day of the week from its textual representation in any of the specified styles.
Parse a day of the week from its textual representation in a specific style.
Parse a month from its textual representation in any of the specified styles.
Parse a month from its textual representation in a specific style.
Parse a minute of the hour with a variable number of digits.
Parse a minute of the hour with a fixed number of digits.
Parse a month of year value with a variable number of digits.
Parse a month of year number with a fixed number of digits.
Parse a period of whole days.
Parse a period of whole months.
Parse a period of whole weeks.
Parse a period of whole years.
Parses a number's sign and populates DateTimeField.PERIOD_SIGN with -1L, if negative or 1L, if positive.
Parse a second of the minute with a variable number of digits.
Parse a second of the minute with a fixed number of digits.
Parse a time zone region ID.
Parses the string ".." and populates DateTimeField.IS_UNBOUNDED with 1L.
Parses the character 'Z' and populates DateTimeField.UTC_OFFSET_TOTAL_SECONDS with 0L.
Parses a number's sign and populates DateTimeField.UTC_OFFSET_SIGN with -1L, if negative or 1L, if positive.
Parse a year with a variable number of digits.
Parse a year with a fixed number of digits.
Parse a year of era with a variable number of digits.
Parse a year of era with a fixed number of digits.