Uses of Class
java.text.ParsePosition
Packages that use ParsePosition
Package
Description
Provides classes and interfaces for handling text, dates, numbers,
and messages in a manner independent of natural languages.
Provides classes to print and parse dates and times.
-
Uses of ParsePosition in java.text
Methods in java.text with parameters of type ParsePositionModifier and TypeMethodDescriptionChoiceFormat.parse(String text, ParsePosition status) Parses a Number from the input text.CompactNumberFormat.parse(String text, ParsePosition pos) Parses a compact number from a string to produce aNumber.abstract DateDateFormat.parse(String source, ParsePosition pos) Parse a date/time string according to the given parse position.DecimalFormat.parse(String text, ParsePosition pos) Parses text from a string to produce aNumber.Object[]MessageFormat.parse(String source, ParsePosition pos) Parses the string.abstract NumberNumberFormat.parse(String source, ParsePosition parsePosition) Returns a Long if possible (e.g., within the range [Long.MIN_VALUE, Long.MAX_VALUE] and with no decimals), otherwise a Double.SimpleDateFormat.parse(String text, ParsePosition pos) Parses text from a string to produce aDate.DateFormat.parseObject(String source, ParsePosition pos) Parses text from a string to produce aDate.abstract ObjectFormat.parseObject(String source, ParsePosition pos) Parses text from a string to produce an object.MessageFormat.parseObject(String source, ParsePosition pos) Parses text from a string to produce an object array.final ObjectNumberFormat.parseObject(String source, ParsePosition pos) Parses text from a string to produce aNumber. -
Uses of ParsePosition in java.time.format
Methods in java.time.format with parameters of type ParsePositionModifier and TypeMethodDescriptionDateTimeFormatter.parse(CharSequence text, ParsePosition position) Parses the text using this formatter, providing control over the text position.DateTimeFormatter.parseUnresolved(CharSequence text, ParsePosition position) Parses the text using this formatter, without resolving the result, intended for advanced use cases.