Sorry about that. If my commenting makes no sense, I apologise. It's been a very, very long night.
// Method rolls the date of the calendar forward by a given number of days
public...
Type: Posts; User: kumalh
Sorry about that. If my commenting makes no sense, I apologise. It's been a very, very long night.
// Method rolls the date of the calendar forward by a given number of days
public...
So I've written this:
public void rollDaysTEST(int d) {
int count = d;
for(int i = 0; i == d; i = i + 1){
date = date + 1;
if(date >...
Ahh sorry about the cross posting. This is my first time using forums so I'm not too familiar with all of that stuff. Like you said, I only meant well. In future I'll be sure to be more careful....
Ok, so I've sorted out all of that stuff. Thank you for your help.
I have another problem that I can't get though. I'm not sure if I should start a new post or not (I'm new - I apologise), so I'll...
Ok, I'll check out Calendar and Date. Thanks.
Also, I'm writing my own Calendar class (I know one already exists, but I'm required to write my own. So I can't use any methods from the pre-existing...
How do I do this? And do I save it as a String?
By name I mean the name of the instance. So say you created a new Calendar object and named it 'Cal' (e.g. cal = new Calendar(4, 8, 2011) )
So...
Also, how do I return the object name?
Hi, I'm creating a class and want to write a method that prints the time an object was created. Is there any way to do this?
Thanks in advance!!
Kumalh.