Uses of Class java.text.ParsePosition (Java SE 26 & JDK 26)
Description: use: module: java.base, package: java.text, class: ParsePosition

# Uses of Class
java.text.ParsePosition

Packages that use ParsePosition
Package
Description
java.text
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
java.time.format
Provides classes to print and parse dates and times.

- ## Uses of ParsePosition in java.text

  Methods in java.text with parameters of type ParsePosition
  Modifier and Type
  Method
  Description
  `Number`
  ChoiceFormat.`parse(String text, ParsePosition status)`
  Parses the input text starting at the index given by the `ParsePosition` as a `Double`.
  `Number`
  CompactNumberFormat.`parse(String text, ParsePosition pos)`
  Parses text from the beginning of the given string to produce a `Number`.
  `abstract Date`
  DateFormat.`parse(String source, ParsePosition pos)`
  Parse a date/time string according to the given parse position.
  `Number`
  DecimalFormat.`parse(String text, ParsePosition pos)`
  Parses text from the beginning of the given string to produce a `Number`.
  `Object[]`
  MessageFormat.`parse(String source, ParsePosition pos)`
  Parses the string.
  `abstract Number`
  NumberFormat.`parse(String source, ParsePosition parsePosition)`
  Parses text from the beginning of the given string to produce a `Number`.
  `Date`
  SimpleDateFormat.`parse(String text, ParsePosition pos)`
  Parses text from a string to produce a `Date`.
  `Object`
  DateFormat.`parseObject(String source, ParsePosition pos)`
  Parses text from a string to produce a `Date`.
  `abstract Object`
  Format.`parseObject(String source, ParsePosition pos)`
  Parses text from the given string to produce an object.
  `Object`
  ListFormat.`parseObject(String source, ParsePosition parsePos)`
  Parses text from a string to produce a list of strings.
  `Object`
  MessageFormat.`parseObject(String source, ParsePosition pos)`
  Parses text from a string to produce an object array.
  `final Object`
  NumberFormat.`parseObject(String source, ParsePosition pos)`
  Parses text from the given string to produce an object.

- ## Uses of ParsePosition in java.time.format

  Methods in java.time.format with parameters of type ParsePosition
  Modifier and Type
  Method
  Description
  `TemporalAccessor`
  DateTimeFormatter.`parse(CharSequence text, ParsePosition position)`
  Parses the text using this formatter, providing control over the text position.
  `TemporalAccessor`
  DateTimeFormatter.`parseUnresolved(CharSequence text, ParsePosition position)`
  Parses the text using this formatter, without resolving the result, intended for advanced use cases.