hi evreyone,
guys i have this problem, when i try to use the method calendarObj.getDisplayName(calendarObj.get(Calendar.DAY_OF_WEEK), Calendar.LONG, new Locale("ar"));
this does return null. the method implementation is said to have localized names for Calendar fields that DateFormatSymbols API have. anyway when i have run the following code:
DateFormatSymbols dfsObj = DateFormatSymbols.getInstance(new Locale("ar"));
String[] days = dfsobj.getWeekDays();
when i printed out the contents of the days array, i have seen the day names in arabic. so how come the Calendar method returns null and the DateFormatSymbols API return the names in arabic?
[ October 17, 2006: Message edited by: Mahmoud Hadad ]