date - JAVA: convert 02 to FEB -


Is it possible to convert the number to three first letters in a month? I swat simple date format 01-02-2014. I separate it in the field and I have to convert it to the smallest possible code.

For example: 01 - Jen 02 - efb

thanks' s; -)

  int month = 1; Println (DateFormatSymbols.getInstance () getMonths () [month 1] .substring (0.3) .toUpperCase ().);    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -