HijrahChronology.INSTANCE.date(LocalDate.of(year, month, day));
This code used to convert a date to Hijrah Date using UmalQuraCalendar API of JAVA8.
<g:formatDate date="${hijrahDate}" /> raises an exception :
Class
java.lang.IllegalArgumentException
Message
Unknown class: org.codehaus.groovy.grails.web.util.StreamCharBuffer
How to format java.time.chrono.HijrahDate object in GSP?
RESOLVED!
Use Cases :
another
NOTES:
typeattribute does not exist , it means that you useg:formatDateimplicitlytype="hijri",formatcontains onlydd,MMMor/andYYYY, if you want to show time ,addshowTimeattribute.API
Service :
Taglib :