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

Android - Facebook GraphUser has no email attribute -

c++ - why does this code produce a runtime error? -

Opencart and VQMOD issue: Could not load controller in vq2-system_engine_controller.php -