I'm using the following code to get the days of the current week
DateFormat format = new SimpleDateFormat("EEEE yyyy/MM/dd");
Calendar calendar = Calendar.getInstance();
calendar.setFirstDayOfWeek(Calendar.MONDAY);
calendar.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
String[] days = new String[7];
for (int i = 0; i < 7; i++)
{
days[i] = format.format(calendar.getTime());
calendar.add(Calendar.DAY_OF_MONTH, 1);
}
for (int i = 0; i < 7; i++)
{
System.out.println("days of week: "+days[i]);
}
it gives me the days and dates ok, but I want them in arabic, what is the code to do this?
Thanks in Advance.