Jump to content

Recommended Posts

so i'm using the setDate and setMonth methods in a program I'm writing, but those methods, apparently, have become deprecated. Does anyone know the functions that may have taken their place and how to use them?

Link to post
Share on other sites
so i'm using the setDate and setMonth methods in a program I'm writing, but those methods, apparently, have become deprecated. Does anyone know the functions that may have taken their place and how to use them?
Calendar.set(Calendar.DAY_OF_MONTH, int date).Also check the URL http://java.sun.com/j2se/1.4.2/docs/api/ja...ml#setDate(int)
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...