Get Month Instance Name java.time.chrono.HijrahDate

HijrahDate hd=HijrahChronology.INSTANCE.date(LocalDate.of(2014,11, 25));

If we have HijrahDateInstance, it is expected that a UmalquraCalendar APImethod will be specified that shows the name of the month:

i check the properties of this instance using the groovy API :

['era':AH, 
'class':class java.time.chrono.HijrahDate, 
'prolepticMonth':17233,
 'eraValue':1,
 'dayOfWeek':2,
 'leapYear':false, 
'chronology':Hijrah-umalqura, 
'dayOfYear':32] 

However, we do not find the name of the month, which should be one of the following list items:

  • Muḥarram (محرم means "forbidden"), the so-called because the battle was forbidden (haram) during this month. Muharram includes Ashur Day.
  • Ṣafar (صفر means "void"), allegedly named so because at this time of the year the pagan Arab houses were empty and their residents gathered food.
  • Rabi I (Rabi al-Aval, ربيع الأول), meaning "spring first".

  • II ( - ربيع الثاني - ربيع الآخ

................................. .

, save month name , , ?

?

+4
2

. , :

System.out.println(DateTimeFormatter.ofPattern("MMMM").format(hd));

Safar.

+4

UmalQura langugage, , UmalQuraCalender, . , @assylias, Locale صفر Safar

System.out.println(DateTimeFormatter.ofPattern("MMMM").format(hd,new Locale("ar")));
+3

All Articles