|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stratelia.webactiv.almanach.control.ejb.ICal4JEventOccurrencesGenerator
public class ICal4JEventOccurrencesGenerator
A generator of event occurrences built on the iCal4J library.
Constructor Summary | |
---|---|
ICal4JEventOccurrencesGenerator()
|
Method Summary | |
---|---|
List<EventOccurrence> |
generateOccurrencesFrom(com.silverpeas.calendar.Date date,
List<EventDetail> events)
Generates the occurrences of the specified events that occur from the specified date with no limit in the future. |
List<EventOccurrence> |
generateOccurrencesInPeriod(org.silverpeas.date.Period period,
List<EventDetail> events)
Generates the occurrences of events that occur in the specified period. |
List<EventOccurrence> |
generateOccurrencesInRange(com.silverpeas.calendar.Date startDate,
com.silverpeas.calendar.Date endDate,
List<EventDetail> events)
Generates the occurrences of the specified events that occur between the two specified dates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ICal4JEventOccurrencesGenerator()
Method Detail |
---|
public List<EventOccurrence> generateOccurrencesInPeriod(org.silverpeas.date.Period period, List<EventDetail> events)
EventOccurrenceGenerator
generateOccurrencesInPeriod
in interface EventOccurrenceGenerator
period
- the period in which occurrences of events occur.events
- the events for which the occurrences have to be generated.
public List<EventOccurrence> generateOccurrencesInRange(com.silverpeas.calendar.Date startDate, com.silverpeas.calendar.Date endDate, List<EventDetail> events)
EventOccurrenceGenerator
generateOccurrencesInRange
in interface EventOccurrenceGenerator
startDate
- the inclusive date from which the event occurrences occur.endDate
- the date to which the event occurrences occur.events
- the events for which the occurrences have to be generated.
public List<EventOccurrence> generateOccurrencesFrom(com.silverpeas.calendar.Date date, List<EventDetail> events)
EventOccurrenceGenerator
generateOccurrencesFrom
in interface EventOccurrenceGenerator
date
- the inclusive date from which the event occurrences occur.events
- the events for which the occurrences have to be generated.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |