- string
- the string to parse using the pattern of this simple date format.
- position
- input/output parameter, specifies the start index in string from where to start parsing. If parsing is successful, it is updated with the index following the parsed text; on error, the index is unchanged and the error index is set to the index where the error occurred.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.IllegalArgumentException if there are invalid characters in the pattern.
Parses a date from the specified string starting at the index specified by position. If the string is successfully parsed then the index of the ParsePosition is updated to the index following the parsed text. On error, the index is unchanged and the error index of ParsePosition is set to the index where the error occurred.