• Post Reply Bookmark Topic Watch Topic
  • New Topic

develop a class that will convert date format into month names  RSS feed

 
krishnan Ayyalasomayajula
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I want to develop a class in which a method should converts actual date format into Months and then displays it. For example, the method should converts date 2015-11-28 into November.

As I'm new to java, Kindly give your inputs such as packages required to import, method arguments etc.

Thanks In Advance,
Krishnan

[Rob] removed phone number
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66305
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please include your own code and be sure to UseCodeTags when you do so. You will get lots of great help here, but you have to start by providing your own work.

Are you converting a Date (as in java.util.Date) or a String containing a formatted date string? There's a big difference.
 
Rob Spoor
Sheriff
Posts: 21133
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Krishnan, I have removed the phone number from your post. Not only does it go against our UseTheForumNotEmail (or phone) policy, it's also for your own safety. The Ranch is a public forum where everybody can read your posts. That means that also people with bad intentions could get your phone number.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!