implement a few methods to make SWT 3.4 happy

This commit is contained in:
Joel Dice
2008-10-10 11:49:28 -06:00
parent f423d39b25
commit 96d7bf571d
3 changed files with 15 additions and 0 deletions

View File

@ -45,6 +45,12 @@ public abstract class Calendar {
fields[field] = value;
}
public void set(int year, int month, int date) {
set(YEAR, year);
set(MONTH, month);
set(DAY_OF_MONTH, date);
}
public void setTime(Date date) {
time = date.getTime();
}