DateFormat and Locale

Locale locale =new Locale("en","US");

GregorianCalendar calendar =new GregorianCalendar(locale);

calendar.clear();

calendar.set(2006, 1, 3, 9, 10, 5);

SimpleDateFormat sdf =new SimpleDateFormat("dd/MMM/yyyy HH:mm:ss");

sdf.setCalendar(calendar);

String result = sdf.format(calendar.getTime());

System.out.println("result [" + result +"]");

I am trying to print "Feb", but this code prints "Fev". What's wrong?

Thank you!

[711 byte] By [DeepPurpleDeepa] at [2007-11-27 5:18:13]
# 1
sdf.setLocale(...);Woops! That's not defined. Try:SimpleDateFormat sdf = new SimpleDateFormat("dd/MMM/yyyy HH:mm:ss", locale);
Hippolytea at 2007-7-12 10:41:19 > top of Java-index,Java Essentials,Java Programming...
# 2
That worked! Thanks!!! :)
DeepPurpleDeepa at 2007-7-12 10:41:19 > top of Java-index,Java Essentials,Java Programming...