怎么把公历转换成伊斯兰(Hijri)日期? [英] How to convert a Gregorian date to an Islamic (Hijri) date?

查看:163
本文介绍了怎么把公历转换成伊斯兰(Hijri)日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经问过很多遍了,但是我没有找到正确的方法。我有一个 String 日期,如1994年1月8日。我想将其转换为 Hijri 日期。
使用 IslamicCalendar

I know this question was asked many times but I didn't find the correct way. I have a String date like 01-08-1994. And I want to convert it to a Hijri date. using IslamicCalendar.

推荐答案

最后,我找到了解决方案在此新库

Finally I found the solution here in this new library .

这篇关于怎么把公历转换成伊斯兰(Hijri)日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆