msarhan / ummalqura-calendar

Implementation of java.util.Calendar for the Umm Al-Qura calendar system.
MIT License
154 stars 51 forks source link

Date Format issue with Orio 8.0 #30

Open Hafijur-rahman opened 2 years ago

Hafijur-rahman commented 2 years ago

This issue with Date Format issue with Orio 8.0 And on above version working fine.

           UmmalquraCalendar calendar = new UmmalquraCalendar();
           calendar.set(Calendar.YEAR, 1442);
           calendar.set(Calendar.DAY_OF_MONTH, 16);
           calendar.set(Calendar.MONTH, UmmalquraCalendar.THUL_HIJJAH);

        SimpleDateFormat dateFormat = new SimpleDateFormat("", Locale.ENGLISH);
        dateFormat.setCalendar(calendar);
        dateFormat.applyPattern("E, MMMM dd");
        String date = dateFormat.format(calendar.getTime());

        Result showing format like :   16 0012 1442
youven commented 1 year ago

I am getting same issue, Any solution?

Hafijur-rahman commented 1 year ago

Walekum as salam, Sure i will share with you soon,

On Wed, 30 Jun 2021 at 9:09 PM, aliahmed-58 @.***> wrote:

Asalam u alaikum, I can't solve your problem but I can't figure out how to add the dependency to android gradle build. Can you please tell how ? thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/msarhan/ummalqura-calendar/issues/30#issuecomment-871511925, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFMDDFYDD5IWKCM6WTOBTWLTVM3DLANCNFSM47MNLI2A .

youven commented 1 year ago

WAlukum Alsalam , thank you brother I am waiting