Uses of Class
java.text.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
Modifier and TypeMethodDescriptionChoiceFormat.parse
(String text, ParsePosition status) Parses a Number from the input text.CompactNumberFormat.parse
(String text, ParsePosition pos) Parses text from the beginning of the given string to produce aNumber
.abstract Date
DateFormat.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 the beginning of the given string to produce aNumber
.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 aNumber
.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 Object
Format.parseObject
(String source, ParsePosition pos) Parses text from the given string to produce an object.ListFormat.parseObject
(String source, ParsePosition parsePos) Parses text from a string to produce a list of strings.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
Modifier 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.