BrightSide Workbench Full Report + Source Code
org.turro.calendar.model.UserCalendarModel Class Reference
Inheritance diagram for org.turro.calendar.model.UserCalendarModel:
Collaboration diagram for org.turro.calendar.model.UserCalendarModel:

Public Member Functions

void setICalendarModel (ICalendarModel imodel)
 
void setICalendarEventList (Collection events)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 33 of file UserCalendarModel.java.

Member Function Documentation

◆ setICalendarEventList()

void org.turro.calendar.model.UserCalendarModel.setICalendarEventList ( Collection  events)

Definition at line 39 of file UserCalendarModel.java.

39  {
40  if(events != null) {
41  for(Object o : events) {
42  if(o instanceof ICalendarEvent) {
43  ICalendarEvent ce = (ICalendarEvent) o;
44  if(CompareUtil.compare(ce.getBeginDate(), ce.getEndDate()) != -1) {
45  ce.setEndDate(new CheckDate(ce.getBeginDate()).addHours(1).getDate());
46  }
47  add(new UserCalendarEvent(ce));
48  }
49  }
50  }
51  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setICalendarModel()

void org.turro.calendar.model.UserCalendarModel.setICalendarModel ( ICalendarModel  imodel)

Definition at line 35 of file UserCalendarModel.java.

35  {
36  setICalendarEventList(imodel.getEvents());
37  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: