| Locale-Sensitive Java Methodjava.time.OffsetDateTime
public static OffsetDateTime parse(CharSequence text)
 public static OffsetDateTime parse(CharSequence text, DateTimeFormatter formatter)
 Internationalization (I18n) Method Overviewparseobtains an instance ofOffsetDateTimefrom a text string using a specific formatter.
            If no formatter is passed in,DateTimeFormatter.ISO_OFFSET_DATE_TIMEis used, which expects strings to be of the form: "2007-12-03T10:15:30+01:00".
            If the string is formatted based on locale, make sure to pass in the correct
            formatter for the locale.
 For more information on parse, 
			click 
	        here. I18n Issues
		To ensure that the correct formatter is used,
		either pass in the locale when creating the formatter, or call withLocaleon an existing formatter, 
		passing in the locale. For more information on DateTimeFormatter, 
			click 
	        here. Locale-Sensitive Java Methods   
 |