I don't know the version, in the readme.html, it is writen : September 21,
2000.
The add method of HebrewCalendar does not correctly compute the new date for the
following date:
import java.util.Locale;
import com.ibm.util.HebrewCalendar;
import com.ibm.text.DateFormat;
public class TestHebrewCalendar {
public static void main(String args[]) {
HebrewCalendar hc = new HebrewCalendar (5742, HebrewCalendar.AV, 22);
DateFormat df = hc.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL,
Locale.getDefault());
String dateString = df.format(hc.getTime());
System.out.println ("hc:" + dateString);
hc.add (HebrewCalendar.MONTH, 1);
dateString = df.format(hc.getTime());
System.out.println (" NOW THE hc IS : 22 Tisseri 5743, INSTEED OF 22 ELLOUL
5742");
System.out.println ("hc:" + dateString);
hc.add (HebrewCalendar.MONTH, -1);
dateString = df.format(hc.getTime());
System.out.println (" NOW THE hc IS ALWAYS : 22 Tisseri 5743, INSTEED OF 22
ELLOUL 5742");
System.out.println ("hc:" + dateString);
}
}