-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
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
Calculation problem #118
Comments
The result of test 1 is 5/10/1441 |
This library is just a repackaging of the timezone database for use on Android. Any problems with the timezone database or the ThreeTenBP library itself should be filed on https://github.com/ThreeTen/threetenbp/. |
@lsgmkk The threetenBP-library and its wrapper specialized for Android here does NOT support the umalqura-calendar of Saudi-Arabia. I suspect that is what you want. Well, Java-8+ supports it, but ThreetenBP has not backported it. See also this old issue. So the author S. Colebourne is surely aware of the problem but does not managed to solve it for whatever reason. The library Threeten-Extra is obviously the wrong place to post a new issue because it will not backport anything from standard Java but is just intended as small enhancement. The best you can do is probably using another library like |
ok,thank
…------------------ 原始邮件 ------------------
发件人: "Meno Hochschild"<notifications@github.com>;
发送时间: 2020年1月8日(星期三) 下午5:11
收件人: "JakeWharton/ThreeTenABP"<ThreeTenABP@noreply.github.com>;
抄送: "恭喜你获得腾讯官方"<1142163805@qq.com>; "Mention"<mention@noreply.github.com>;
主题: Re: [JakeWharton/ThreeTenABP] Calculation problem (#118)
@lsgmkk The threetenBP-library and its wrapper specialized for Android here does NOT support the umalqura-calendar of Saudi-Arabia. I suspect that is what you want. Well, Java-8+ supports it, but ThreetenBP has not backported it. See also this old issue. So the author S. Colebourne is surely aware of the problem but does not managed to solve it for whatever reason.
The library Threeten-Extra is obviously the wrong place to post a new issue because it will not backport anything from standard Java but is just intended as small enhancement.
The best you can do is probably using another library like
msarhan
Time4A (my lib)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I used this to calculate HijrahDate, but the result is not the same as the result of DateTime using Android 8.0
For example, if I calculate today's HijrahDate 2020-1-6, the result is 1441/5/10
But the result I calculated using the method provided by 8.0 is 1441/5/11
Below is my code:
Is this what is the reason?
The text was updated successfully, but these errors were encountered: