// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.text.DateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;

import javax.swing.JOptionPane;

public class ArabCalandar {
    public static void main(String[] args) {
        DateFormat da = DateFormat.getDateInstance(DateFormat.LONG, new Locale("da", "DK")); 
        DateFormat ar = DateFormat.getDateInstance(DateFormat.LONG, new Locale("ar", "SA")); 
        Calendar cal = new GregorianCalendar();
        cal.set(1996, Calendar.JANUARY, 1);
        Date d = cal.getTime();
        JOptionPane.showMessageDialog(null, da.format(d));
        JOptionPane.showMessageDialog(null, ar.format(d));
    }
}
