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:
type
attribute does not exist , it means that you useg:formatDate
implicitlytype="hijri"
,format
contains onlydd
,MMM
or/andYYYY
, if you want to show time ,addshowTime
attribute.API
Service :
Taglib :