Package com.groiss.cal
Class CalInfoAdapter
java.lang.Object
com.groiss.cal.CalInfoAdapter
- All Implemented Interfaces:
CalInfo
Deprecated.
default
CalInfo
implementation-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlistEvents
(Persistent object, Date startDate, Date endDate) Deprecated.listEvents
(List<Persistent> objects, Date startDate, Date endDate) Deprecated.This function returns a bunch of dates for each passed objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.groiss.cal.CalInfo
getArguments, getCaptions, getClassName, getName, getPossibleViews, getView, setArguments
-
Constructor Details
-
CalInfoAdapter
public CalInfoAdapter()Deprecated.
-
-
Method Details
-
listEvents
Deprecated.compatibility method for the old API; new implementations should uselistEvents(List, Date, Date)
instead- Parameters:
object
- the object, the dates should be fetched forstartDate
- enddateendDate
- startdate- Returns:
- list of events for this object
-
listEvents
public MultiMap<Persistent,CalEvent> listEvents(List<Persistent> objects, Date startDate, Date endDate) Deprecated.This function returns a bunch of dates for each passed object- Specified by:
listEvents
in interfaceCalInfo
- Parameters:
objects
- the objects the dates should be forstartDate
- range startdateendDate
- range endtime- Returns:
MultiMap
of dates occuring in the range of time
-
CalInfo
instead