Hijri and Gregorian DateTime constructor

前端 未结 2 2153
半阙折子戏
半阙折子戏 2020-12-19 21:58

what is the correct behavior for the Calendar objected passed to the constructor of DateTime type?

I have the components year, month and day as the below example:

2条回答
  •  感动是毒
    2020-12-19 22:22

    You've not actually asked a meaningful question. If you're trying to convert a given date from one calender to another then more than the date will change, after all the Hijri calender has different months to the gregorian.

    Check out this site for examples - it even has downloadable code.

提交回复
热议问题