Get a gregorian date from Hijri date strings
问题 I would like to get a gregorian date from the Hijri date indexs. e.g getDate(1436, "SHawwal", 18) This should return 3rd August 2015 How could I do the conversion ? 回答1: I regret that you were ill advised. Many people blindly recommend well-known libraries like Joda-Time without even checking if this can solve your problem and fit your requirements . Which requirement? You have stated: value tuple (1436, "SHawwal", 18) => gregorian date as String ("3rd August 2015") Let's first demonstrate