Product Information > Version 7.1 Release Information > Upgrading to JADE Release 7.1 > Date Handling (PAR 62888)

Date Handling (PAR 62888)

In earlier releases, the Thai calendar was the only non‑Gregorian calendar handled by JADE.

JADE now handles any calendar available within Microsoft Windows. Non-Gregorian calendars are handled in the locale‑based date routines such as parseForCurrentLocale, longFormat, shortFormat, and so on, as well as the setTextFromDate and getTextAsDate methods in the JadeEditMask class.

In addition, the Date primitive type isLeapYear method now uses the currently set locale and calendar of the user to determine whether the date is a leap year. (In earlier releases, this method returned whether the date was a leap year in terms of the effective Gregorian date.)