configure a custom variant in HijrahChronology for date correction jdk 8
问题 I have used DatePicker in javafx - JDK 8 and used HijrahChronology.INSTANCE - so that the date picker shows both the calendar - everything work good enough but I am having a difference of 1 day between gregorian calendar and hijri calendar. Hijri Calendar is 1 day backward. I am trying to change the variant as per the following link https://bugs.openjdk.java.net/browse/JDK-8187987 but unable to succeed in it. Kindly explain or refer a better or a clear solution to this issue. Code: