Package org.ical4j.template.property
Class Repeats<T extends Temporal>
- java.lang.Object
-
- net.fortuna.ical4j.model.Content
-
- net.fortuna.ical4j.model.Property
-
- net.fortuna.ical4j.model.property.RRule<T>
-
- org.ical4j.template.property.Repeats<T>
-
- Type Parameters:
T
- the temporal type to which this rule will be applied
- All Implemented Interfaces:
Serializable
,Comparable<net.fortuna.ical4j.model.Property>
,net.fortuna.ical4j.model.FluentProperty
public class Repeats<T extends Temporal> extends net.fortuna.ical4j.model.property.RRule<T>
Provides a simpler abstraction of iCalendar recurrence rules.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.fortuna.ical4j.model.property.RRule
net.fortuna.ical4j.model.property.RRule.Factory<T extends Temporal>
-
-
Field Summary
Fields Modifier and Type Field Description static Repeats<LocalDate>
DAILY
static Repeats<LocalDate>
FORTNIGHTLY
static Repeats<LocalDate>
HALF_YEARLY
static Repeats<LocalDate>
HOURLY
static Repeats<LocalDate>
MINUTELY
static Repeats<LocalDate>
MONTHLY
static Repeats<LocalDate>
QUARTERLY
static Repeats<LocalDate>
SECONDLY
static Repeats<LocalDate>
TWICE_DAILY
static Repeats<LocalDate>
WEEKDAYS
static Repeats<LocalDate>
WEEKENDS
static Repeats<LocalDate>
WEEKLY
static Repeats<LocalDate>
YEARLY
-
Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION
-
-
Constructor Summary
Constructors Constructor Description Repeats(org.threeten.extra.Days interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Hours interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Minutes interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Months interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Seconds interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Weeks interval)
How often the recurrence repeats (i.e.Repeats(org.threeten.extra.Years interval)
How often the recurrence repeats (i.e.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Repeats<T>
on(Integer... dayOfMonth)
On which day of the month the recurrence repeats (BYMONTHDAY).Repeats<T>
on(DayOfWeek... day)
On which day of the week the recurrence repeats (BYDAY).Repeats<T>
on(Month... month)
Repeats<T>
times(int count)
The total number of occurrences (i.e.Repeats<T>
until(T endDate)
The end date of the recurrence (i.e.-
Methods inherited from class net.fortuna.ical4j.model.property.RRule
getRecur, getValue, newFactory, setRecur, setValue, validate
-
Methods inherited from class net.fortuna.ical4j.model.Property
add, compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameterList, getParameters, getPrefix, getRequiredParameter, hashCode, remove, removeAll, replace, setParameters, setPrefix, toString
-
-
-
-
Constructor Detail
-
Repeats
public Repeats(org.threeten.extra.Years interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Months interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Weeks interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Days interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Hours interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Minutes interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
Repeats
public Repeats(org.threeten.extra.Seconds interval)
How often the recurrence repeats (i.e. interval).- Parameters:
interval
-
-
-
Method Detail
-
on
public Repeats<T> on(DayOfWeek... day)
On which day of the week the recurrence repeats (BYDAY).- Parameters:
day
-
-
on
public Repeats<T> on(Integer... dayOfMonth)
On which day of the month the recurrence repeats (BYMONTHDAY).- Parameters:
dayOfMonth
-
-
until
public Repeats<T> until(T endDate)
The end date of the recurrence (i.e. until).- Parameters:
endDate
-- Returns:
-
-