Class ICalRecurConverter
java.lang.Object
org.apache.ofbiz.workeffort.workeffort.ICalRecurConverter
- All Implemented Interfaces:
TemporalExpressionVisitor
Temporal Expression to iCalendar recurrence converter. The conversion results
(or conversion success) are unpredictable since the OFBiz Temporal Expressions
are more sophisticated than iCalendar recurrences. This class attempts to
make a best attempt at conversion and throws
IllegalStateException
when conversion is not possible.-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final net.fortuna.ical4j.model.WeekDay[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected net.fortuna.ical4j.model.Recur
consolidateRecurs
(List<net.fortuna.ical4j.model.Recur> recurList) Consolidate recurs recur.static void
convert
(TemporalExpression expr, net.fortuna.ical4j.model.PropertyList eventProps) void
void
void
void
void
void
void
void
void
void
void
void
void
-
Field Details
-
DAY_OF_WEEK_ARRAY
protected static final net.fortuna.ical4j.model.WeekDay[] DAY_OF_WEEK_ARRAY
-
-
Constructor Details
-
ICalRecurConverter
protected ICalRecurConverter()
-
-
Method Details
-
convert
public static void convert(TemporalExpression expr, net.fortuna.ical4j.model.PropertyList eventProps) -
consolidateRecurs
protected net.fortuna.ical4j.model.Recur consolidateRecurs(List<net.fortuna.ical4j.model.Recur> recurList) Consolidate recurs recur.- Parameters:
recurList
- the recur list- Returns:
- the recur
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-
visit
- Specified by:
visit
in interfaceTemporalExpressionVisitor
-