Basically I need some help doing this, I've been coding in Java for almost 2 years for studies so I'm not overly new to this. But basically I have a field of type Calendar (I can chage this but I'm using Calendar for now) and another field of the same type as well.
So when I construct them I want the first variable say 'date1' to be a date of my chose so tomorrow and I want 'date2' to be 'date1' plus 2 weeks or 30 days or a value of my choosing. This is the hard bit so any ideas?
Question
Business
Hey guys,
Basically I need some help doing this, I've been coding in Java for almost 2 years for studies so I'm not overly new to this. But basically I have a field of type Calendar (I can chage this but I'm using Calendar for now) and another field of the same type as well.
So when I construct them I want the first variable say 'date1' to be a date of my chose so tomorrow and I want 'date2' to be 'date1' plus 2 weeks or 30 days or a value of my choosing. This is the hard bit so any ideas?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts