thrownewDateTimeParseException("Text '"+String.valueOf(text.charAt(pos.getErrorIndex()))+"' could not be parsed at index "+pos.getErrorIndex(),text,pos.getErrorIndex());
thrownewDateTimeParseException("Text '"+text+"' could not be parsed at index "+pos.getErrorIndex(),text,pos.getErrorIndex());
}elseif(pos.getIndex()!=text.length()){
thrownewDateTimeParseException("Unparsed text found at index "+pos.getIndex(),text,pos.getIndex());