Java Calendar Class
Posted on 2004-08-10
I currently have a method that takes the current time and date and returns the date 3 weeks later, I want to change this to 10 calendar days later.
public Date createFirstDateFromDirectDebitDate()
Calendar firstAllowable = Calendar.getInstance();
/* set calendar value to 3 weeks time */
I tried using DAY_OF_YEAR but it seems to only give me 10 working days later
Can anyone tell what im doing wrong??