com.silverpeas.export.ical.ical4j
Class ICal4JRecurrenceCodec
java.lang.Object
com.silverpeas.export.ical.ical4j.ICal4JRecurrenceCodec
public class ICal4JRecurrenceCodec
- extends Object
A codec to encode/decode iCal4J recurrence with Silverpeas event recurrence.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICal4JRecurrenceCodec
public ICal4JRecurrenceCodec()
anICal4JRecurrenceCodec
public static ICal4JRecurrenceCodec anICal4JRecurrenceCodec()
- Gets an instance of the ICal4JDateCodec class.
- Returns:
- an ICal4JDateCodec instance.
encode
public net.fortuna.ical4j.model.Recur encode(CalendarEventRecurrence eventRecurrence)
throws EncodingException
- Encodes the specified Silverpeas event recurrence into an iCal4J recurrence.
- Parameters:
eventRecurrence
- the specified event recurrence to encode.
- Returns:
- the encoded iCal4J recurrence.
- Throws:
EncodingException
- if the encoding fails.
Copyright © 2016 Silverpeas. All Rights Reserved.