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

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -