We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error when parsing
string date = "1399/09/07"; PersianDate persianDate = persianDateFormat.parse(date,"Y/m/d");
error message java.lang.ArrayIndexOutOfBoundsException: length=13; index=-1
The text was updated successfully, but these errors were encountered:
Hi Look at PersianDateFormat in the documentation. For parse, you must use YYYY for the year, MM for the month, and dd for the day.
string date = "1399/09/07"; PersianDate persianDate = persianDateFormat.parse(date,"YYYY/MM/dd");
Sorry, something went wrong.
hello, thank you. 👍
No branches or pull requests
error when parsing
string date = "1399/09/07";
PersianDate persianDate = persianDateFormat.parse(date,"Y/m/d");
error message
java.lang.ArrayIndexOutOfBoundsException: length=13; index=-1
The text was updated successfully, but these errors were encountered: