|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.model.Recur
Defines a recurrence.
Field Summary | |
static String |
DAILY
|
static String |
HOURLY
|
static String |
MINUTELY
|
static String |
MONTHLY
|
static String |
SECONDLY
|
static String |
WEEKLY
|
static String |
YEARLY
|
Constructor Summary | |
Recur(String aValue)
Constructs a new instance from the specified string value. |
|
Recur(String frequency,
Date until)
|
|
Recur(String frequency,
int count)
|
Method Summary | |
int |
getCount()
|
DateList |
getDates(Date seed,
Date periodStart,
Date periodEnd,
Value value)
Returns a list of start dates in the specified period represented by this recur. |
DateList |
getDates(Date periodStart,
Date periodEnd,
Value value)
Returns a list of start dates in the specified period represented by this recur. |
DateList |
getDates(Date seed,
Period period,
Value value)
Convenience method for retrieving recurrences in a specified period. |
WeekDayList |
getDayList()
|
Map |
getExperimentalValues()
|
String |
getFrequency()
|
NumberList |
getHourList()
|
int |
getInterval()
|
NumberList |
getMinuteList()
|
NumberList |
getMonthDayList()
|
NumberList |
getMonthList()
|
NumberList |
getSecondList()
|
NumberList |
getSetPosList()
|
Date |
getUntil()
|
NumberList |
getWeekNoList()
|
String |
getWeekStartDay()
|
NumberList |
getYearDayList()
|
void |
setCount(int count)
|
void |
setFrequency(String frequency)
|
void |
setInterval(int interval)
|
void |
setUntil(Date until)
|
void |
setWeekStartDay(String weekStartDay)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String SECONDLY
public static final String MINUTELY
public static final String HOURLY
public static final String DAILY
public static final String WEEKLY
public static final String MONTHLY
public static final String YEARLY
Constructor Detail |
public Recur(String aValue) throws ParseException
aValue
- a string representation of a recurrence.
ParseException
- thrown when the specified string contains an invalid
representation of an UNTIL date valuepublic Recur(String frequency, Date until)
frequency
- until
- public Recur(String frequency, int count)
frequency
- count
- Method Detail |
public final WeekDayList getDayList()
public final NumberList getHourList()
public final NumberList getMinuteList()
public final NumberList getMonthDayList()
public final NumberList getMonthList()
public final NumberList getSecondList()
public final NumberList getSetPosList()
public final NumberList getWeekNoList()
public final NumberList getYearDayList()
public final int getCount()
public final Map getExperimentalValues()
public final String getFrequency()
public final int getInterval()
public final Date getUntil()
public final String getWeekStartDay()
public final void setWeekStartDay(String weekStartDay)
weekStartDay
- The weekStartDay to set.public final String toString()
Object.toString()
public final DateList getDates(Date periodStart, Date periodEnd, Value value)
periodStart
- the start of the periodperiodEnd
- the end of the periodvalue
- the type of dates to generate (i.e. date/date-time)
public final DateList getDates(Date seed, Period period, Value value)
period
- the period of returned recurrence datesvalue
- type of dates to generate
public final DateList getDates(Date seed, Date periodStart, Date periodEnd, Value value)
periodStart
- the start of the periodperiodEnd
- the end of the periodvalue
- the type of dates to generate (i.e. date/date-time)
public final void setCount(int count)
count
- The count to set.public final void setFrequency(String frequency)
frequency
- The frequency to set.public final void setInterval(int interval)
interval
- The interval to set.public final void setUntil(Date until)
until
- The until to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |