public class EventStampFilter extends StampFilter
The following filter properties are supported:
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_DO_TIMERANGE_SECOND_PASS |
static String |
PROPERTY_INCLUDE_MASTER_ITEMS |
| Constructor and Description |
|---|
EventStampFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFloatEnd() |
String |
getFloatEnd(String dateTimeFormat) |
String |
getFloatStart() |
String |
getFloatStart(String dateTimeFormat) |
Boolean |
getIsRecurring() |
net.fortuna.ical4j.model.Period |
getPeriod() |
net.fortuna.ical4j.model.TimeZone |
getTimezone() |
String |
getUTCEnd() |
String |
getUTCEnd(String dateTimeFormat) |
String |
getUTCStart() |
String |
getUTCStart(String dateTimeFormat) |
boolean |
isExpandRecurringEvents() |
void |
setExpandRecurringEvents(boolean expandRecurringEvents)
If a time-range query is specified, the filter can be configured
to expand recurring events within the time range.
|
void |
setIsRecurring(Boolean isRecurring)
Match only recurring events.
|
void |
setPeriod(net.fortuna.ical4j.model.Period period)
Matches events that occur in a given time-range.
|
void |
setTimeRange(Date start,
Date end)
Matches events that occur in a given time-range.
|
void |
setTimezone(net.fortuna.ical4j.model.TimeZone timezone)
Used in time-range filtering.
|
getStampClass, isMissing, setMissing, setStampClasspublic static final String PROPERTY_INCLUDE_MASTER_ITEMS
public static final String PROPERTY_DO_TIMERANGE_SECOND_PASS
public net.fortuna.ical4j.model.Period getPeriod()
public void setPeriod(net.fortuna.ical4j.model.Period period)
period - time-rangepublic void setTimeRange(Date start, Date end)
start - range startend - range endpublic String getUTCStart()
public String getUTCEnd()
public String getFloatStart()
public String getFloatEnd()
public boolean isExpandRecurringEvents()
public void setExpandRecurringEvents(boolean expandRecurringEvents)
NoteOccurrence item returned for each occurrence
of a matching recurring event during the specified time range.expandRecurringEvents - if true and a time-range is specified,
return a NoteOccurrence for each occurence of a recurring event
during the time-range.public net.fortuna.ical4j.model.TimeZone getTimezone()
public void setTimezone(net.fortuna.ical4j.model.TimeZone timezone)
timezone - timezone to use in comparing floating timespublic Boolean getIsRecurring()
public void setIsRecurring(Boolean isRecurring)
isRecurring - if set, return recurring events only, or only
non recurring eventsCopyright © 2012–2018 1&1. All rights reserved.