Reputation: 59
I am trying to determine tomorrow's date in J2ME and I have already read the following topic How to determine tomorrow's date in J2ME for use in a DateField? but the problem is I could not able to find the setDate() or setTimeInMillis() method of Date or Calendar class and they do not exist!
Upvotes: 0
Views: 276
Reputation: 879
This example sets tomorrow's date
Calendar cal = Calendar.getInstance();
Date today = cal.getTime();
day.add(Calendar.DATE, 1);
Upvotes: 3