我需要一个将日期作为数组返回的函数。
以下getItem()
必须将日期作为数组返回。
public class Calendar implements Ownable {
User owner;
ArrayList<CalendarItem> Termin = new ArrayList<CalendarItem>();
public Calendar (User owner){
this.owner = owner;
}
@Override
public Person getOwner() {
return owner;
}
public CalendarItem [] getItems(){
return ; // what should I return here?
}
}