Package org.silverpeas.components.scheduleevent.service

## Class CalendarEventEncoder

- java.lang.Object
- - org.silverpeas.components.scheduleevent.service.CalendarEventEncoder

-     public class CalendarEventEncoder
      extends Object

  An encoder of EventDetail instances to EventCalendar instances.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CalendarEventEncoder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<org.silverpeas.core.calendar.CalendarEvent>` | `encode​(ScheduleEvent eventDetail, List<DateOption> listDateOption)` | Encodes the specified detailed scheduled event with the specified dates into calendar events.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CalendarEventEncoder

          public CalendarEventEncoder()

  - ### Method Detail

    - #### encode

          public List<org.silverpeas.core.calendar.CalendarEvent> encode​(ScheduleEvent eventDetail,
                                                                         List<DateOption> listDateOption)

      Encodes the specified detailed scheduled event with the specified dates into calendar events.
      Parameters:
        `eventDetail` - a scheduled event.
        `listDateOption` - list of dates.
      Returns:
        the list of calendar event corresponding to the schedule event.