|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiweekly.util.Recurrence
public final class Recurrence
Represents a recurrence rule value.
This class is immutable. Use the Recurrence.Builder
object to construct a new
instance.
Examples:
//"bi-weekly" Recurrence rrule = new Recurrence.Builder(Frequency.WEEKLY).interval(2).build(); Recurrence copy = new Recurrence.Builder(rrule).interval(3).build();
Nested Class Summary | |
---|---|
static class |
Recurrence.Builder
Constructs Recurrence objects. |
static class |
Recurrence.DayOfWeek
Represents each of the seven days of the week. |
static class |
Recurrence.Frequency
Represents the frequency at which a recurrence rule repeats itself. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<Recurrence.DayOfWeek> |
getByDay()
Gets the day components of the BYDAY rule part. |
List<Integer> |
getByDayPrefixes()
Gets the numeric components of the BYDAY rule part. |
List<Integer> |
getByHour()
Gets the BYHOUR rule part. |
List<Integer> |
getByMinute()
Gets the BYMINUTE rule part. |
List<Integer> |
getByMonth()
Gets the BYMONTH rule part. |
List<Integer> |
getByMonthDay()
Gets the BYMONTHDAY rule part. |
List<Integer> |
getBySecond()
Gets the BYSECOND rule part. |
List<Integer> |
getBySetPos()
Gets the BYSETPOS rule part. |
List<Integer> |
getByWeekNo()
Gets the BYWEEKNO rule part. |
List<Integer> |
getByYearDay()
Gets the BYYEARDAY rule part. |
Integer |
getCount()
Gets the number of times the rule will be repeated. |
Recurrence.Frequency |
getFrequency()
Gets the frequency. |
Integer |
getInterval()
Gets how often the rule repeats, in relation to the frequency. |
Date |
getUntil()
Gets the date that the recurrence stops. |
Recurrence.DayOfWeek |
getWorkweekStarts()
Gets the day that the work week starts. |
Map<String,List<String>> |
getXRules()
Gets the non-standard rule parts. |
int |
hashCode()
|
boolean |
hasTimeUntilDate()
Determines whether the UNTIL date has a time component. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Recurrence.Frequency getFrequency()
public Date getUntil()
public boolean hasTimeUntilDate()
public Integer getCount()
public Integer getInterval()
public List<Integer> getBySecond()
public List<Integer> getByMinute()
public List<Integer> getByHour()
public List<Recurrence.DayOfWeek> getByDay()
public List<Integer> getByDayPrefixes()
public List<Integer> getByMonthDay()
public List<Integer> getByYearDay()
public List<Integer> getByWeekNo()
public List<Integer> getByMonth()
public List<Integer> getBySetPos()
public Recurrence.DayOfWeek getWorkweekStarts()
public Map<String,List<String>> getXRules()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |