Thursday, May 1, 2008

Code Beach: Get the Names of the Months in Java

I did not even know about the DateFormatSymbols class. Code Beach: Get the Names of the Months in Java: "This tutorial shows how to get the month names for the current locale or for a specific locale. Java provides an easy mechanism for getting localized month names. To get the month names, you will use the DateFormatSymbols in the java.text package. By default, the constructor will create a DateFormatSymbols object based on the current locale. DateFormatSymbols symbols = new DateFormatSymbols();"

No comments: