mirror of
https://github.com/corda/corda.git
synced 2025-06-16 22:28:15 +00:00
implement a few methods to make SWT 3.4 happy
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user