Results 1 to 8 of 8
- 12-24-2011, 03:00 PM #1
Member
- Join Date
- Dec 2011
- Posts
- 6
- Rep Power
- 0
I Need help: how to make a Calendar using Java !
Hello guys
I hope you are doing well,
I'm a new member and I really need you to help me ...
I just need a help on how to make a special Calendar by using Java
but the most important thing is that I want the output to be like this

and I want to make a constructor that takes a string in the form like “2/12/2011”, or “2-12-2011” or “2-12-2011 5:55:32”
and it should parse the string and get its values from the string.
and the last thing that ....
cal.add(2,”year”) and the result should be 11/12/2013 13:25:55. Adding negative values should change the date to an earlier date, for example cal.add(-2,”year”) should rewind the date/time to two years before
Thank you very much in advance :)
- 12-24-2011, 04:19 PM #2
Re: I Need help: how to make a Calendar using Java !
Do you have any specific questions or problems?
Please ask them.
- 12-25-2011, 11:15 AM #3
Member
- Join Date
- Dec 2011
- Posts
- 6
- Rep Power
- 0
Re: I Need help: how to make a Calendar using Java !
that was my problem ... plz I need help with it /~
can anyone tell me at least the main Idea of how to write the code !?
- 12-25-2011, 11:19 AM #4
Re: I Need help: how to make a Calendar using Java !
post your code you have so far.
-
Re: I Need help: how to make a Calendar using Java !
Still, all you've done is post the assignment, but not any specific answerable question. Please understand that we're more than happy to answer specific questions, but no one is going to do this assignment for you. So tell us, what is the main thing that is confusing you right now? If you have no clue at all, then have a look at these links:
The Java Tutorials: the Really Big Index
So, You Need to Write a Program but Don't Know How to Start
- 12-25-2011, 03:11 PM #6
Member
- Join Date
- Dec 2011
- Posts
- 6
- Rep Power
- 0
Re: I Need help: how to make a Calendar using Java !
I just created the class and did the getter and setter methods for the day, month and the year + timing ..so far ^_^post your code you have so far.
and I'll post it tonight coz I'm using my friend's laptop right now :)
- 12-25-2011, 03:17 PM #7
Member
- Join Date
- Dec 2011
- Posts
- 6
- Rep Power
- 0
Re: I Need help: how to make a Calendar using Java !
thanx for replying , just be sure of one thing: I'm not using you to do my assignment!Still, all you've done is post the assignment, but not any specific answerable question. Please understand that we're more than happy to answer specific questions, but no one is going to do this assignment for you. So tell us, what is the main thing that is confusing you right now? If you have no clue at all, then have a look at these links:
I just wanna have a sample of calendar java code to see it .. so at least I can know from where to start , coz the head start always confusing me :D !
-
Re: I Need help: how to make a Calendar using Java !
Good.
There is plenty of example code here in this forum and in other similar forums, please help yourself to it. Then later if you have a specific question on your code (not borrowed code, please), we'll be more than happy to try to help you.I just wanna have a sample of calendar java code to see it .. so at least I can know from where to start , coz the head start always confusing me :D !
Similar Threads
-
question about method calendar.get(Calendar.DAY_OF_WEEK))
By elenora in forum Advanced JavaReplies: 4Last Post: 09-21-2011, 04:39 PM -
Create Calendar with Java
By neoseeker191 in forum New To JavaReplies: 4Last Post: 10-17-2008, 05:41 AM -
Java Calendar Class
By vasu18 in forum New To JavaReplies: 1Last Post: 12-22-2007, 02:51 AM -
Java Calendar Class
By vasu18 in forum New To JavaReplies: 0Last Post: 12-06-2007, 10:45 AM -
Making a Java web calendar
By toby in forum Enterprise JavaBeans (EJB)Replies: 1Last Post: 08-07-2007, 06:05 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks