Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calendar.. translate an int in a month with a Locale  RSS feed

 
al nik
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an int (ex. 2) that identify the month of March. How can I translate it in March, Marzo, etc. with the Locale.
 
Rob Spoor
Sheriff
Posts: 21090
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at java.text.DateFormatSymbols.
 
al nik
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks so much
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!