|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.util.cal.Recurrence
Recurrence
public class Recurrence
Field Summary | |
---|---|
protected DayAndPosition[] |
byDay
Deprecated. Field byDay |
protected int[] |
byMonth
Deprecated. Field byMonth |
protected int[] |
byMonthDay
Deprecated. Field byMonthDay |
protected int[] |
byWeekNo
Deprecated. Field byWeekNo |
protected int[] |
byYearDay
Deprecated. Field byYearDay |
static int |
DAILY
Deprecated. Field DAILY |
protected Calendar |
dtStart
Deprecated. Field dtStart |
protected Duration |
duration
Deprecated. Field duration |
protected int |
frequency
Deprecated. Field frequency |
protected int |
interval
Deprecated. Field interval |
static int |
MONTHLY
Deprecated. Field MONTHLY |
static int |
NO_RECURRENCE
Deprecated. Field NO_RECURRENCE |
protected int |
occurrence
Deprecated. Field interval |
protected Calendar |
until
Deprecated. Field until |
static int |
WEEKLY
Deprecated. Field WEEKLY |
static int |
YEARLY
Deprecated. Field YEARLY |
Constructor Summary | |
---|---|
Recurrence()
Deprecated. Constructor Recurrence |
|
Recurrence(Calendar start,
Duration dur)
Deprecated. Constructor Recurrence |
|
Recurrence(Calendar start,
Duration dur,
int freq)
Deprecated. Constructor Recurrence |
Method Summary | |
---|---|
protected boolean |
candidateIsInRecurrence(Calendar candidate,
boolean debug)
Deprecated. Method candidateIsInRecurrence |
DayAndPosition[] |
getByDay()
Deprecated. Method getByDay |
int[] |
getByMonth()
Deprecated. Method getByMonth |
int[] |
getByMonthDay()
Deprecated. Method getByMonthDay |
int[] |
getByWeekNo()
Deprecated. Method getByWeekNo |
int[] |
getByYearDay()
Deprecated. Method getByYearDay |
Calendar |
getCandidateStartTime(Calendar current)
Deprecated. Method getCandidateStartTime |
protected static long |
getDayNumber(Calendar cal)
Deprecated. Method getDayNumber |
Calendar |
getDtEnd()
Deprecated. Method getDtEnd |
Calendar |
getDtStart()
Deprecated. Method getDtStart |
Duration |
getDuration()
Deprecated. Method getDuration |
int |
getFrequency()
Deprecated. Method getFrequency |
int |
getInterval()
Deprecated. Method getInterval |
protected int |
getMinimumInterval()
Deprecated. Method getMinimumInterval |
protected static long |
getMonthNumber(Calendar cal)
Deprecated. Method getMonthNumber |
int |
getOccurrence()
Deprecated. Method getOccurrence |
protected int |
getRecurrenceCount(Calendar candidate)
Deprecated. Method getRecurrenceCount |
Calendar |
getUntil()
Deprecated. Method getUntil |
protected static long |
getWeekNumber(Calendar cal)
Deprecated. Method getWeekNumber |
int |
getWeekStart()
Deprecated. Method getWeekStart |
boolean |
isInRecurrence(Calendar current)
Deprecated. Method isInRecurrence |
boolean |
isInRecurrence(Calendar current,
boolean debug)
Deprecated. Method isInRecurrence |
protected boolean |
matchesByDay(Calendar candidate)
Deprecated. Method matchesByDay |
protected boolean |
matchesByField(int[] array,
int field,
Calendar candidate,
boolean allowNegative)
Deprecated. Method matchesByField |
protected boolean |
matchesByMonth(Calendar candidate)
Deprecated. Method matchesByMonth |
protected boolean |
matchesByMonthDay(Calendar candidate)
Deprecated. Method matchesByMonthDay |
protected boolean |
matchesByWeekNo(Calendar candidate)
Deprecated. Method matchesByWeekNo |
protected boolean |
matchesByYearDay(Calendar candidate)
Deprecated. Method matchesByYearDay |
protected boolean |
matchesIndividualByDay(Calendar candidate,
DayAndPosition pos)
Deprecated. Method matchesIndividualByDay |
protected static void |
reduce_constant_length_field(int field,
Calendar start,
Calendar candidate)
Deprecated. Method reduce_constant_length_field |
protected static void |
reduce_day_of_month(Calendar start,
Calendar candidate)
Deprecated. Method reduce_day_of_month |
protected static void |
reduce_day_of_year(Calendar start,
Calendar candidate)
Deprecated. Method reduce_day_of_year |
void |
setByDay(DayAndPosition[] b)
Deprecated. Method setByDay |
void |
setByMonth(int[] b)
Deprecated. Method setByMonth |
void |
setByMonthDay(int[] b)
Deprecated. Method setByMonthDay |
void |
setByWeekNo(int[] b)
Deprecated. Method setByWeekNo |
void |
setByYearDay(int[] b)
Deprecated. Method setByYearDay |
void |
setDtEnd(Calendar end)
Deprecated. Method setDtEnd |
void |
setDtStart(Calendar start)
Deprecated. Method setDtStart |
void |
setDuration(Duration d)
Deprecated. Method setDuration |
void |
setFrequency(int freq)
Deprecated. Method setFrequency |
void |
setInterval(int intr)
Deprecated. Method setInterval |
void |
setOccurrence(int occur)
Deprecated. Method setOccurrence |
void |
setUntil(Calendar u)
Deprecated. Method setUntil |
void |
setWeekStart(int weekstart)
Deprecated. Method setWeekStart |
protected String |
stringizeIntArray(int[] a)
Deprecated. Method stringizeIntArray |
String |
toString()
Deprecated. Method toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DAILY
public static final int MONTHLY
public static final int NO_RECURRENCE
public static final int WEEKLY
public static final int YEARLY
protected DayAndPosition[] byDay
protected int[] byMonth
protected int[] byMonthDay
protected int[] byWeekNo
protected int[] byYearDay
protected Calendar dtStart
protected Duration duration
protected int frequency
protected int interval
protected int occurrence
protected Calendar until
Constructor Detail |
---|
public Recurrence()
public Recurrence(Calendar start, Duration dur)
public Recurrence(Calendar start, Duration dur, int freq)
Method Detail |
---|
public DayAndPosition[] getByDay()
public int[] getByMonth()
public int[] getByMonthDay()
public int[] getByWeekNo()
public int[] getByYearDay()
public Calendar getCandidateStartTime(Calendar current)
current
- the current time
public Calendar getDtEnd()
public Calendar getDtStart()
public Duration getDuration()
public int getFrequency()
public int getInterval()
public int getOccurrence()
public Calendar getUntil()
public int getWeekStart()
public boolean isInRecurrence(Calendar current)
current
- the current time
public boolean isInRecurrence(Calendar current, boolean debug)
current
- the current timedebug
- whether to print debug messages
public void setByDay(DayAndPosition[] b)
public void setByMonth(int[] b)
public void setByMonthDay(int[] b)
public void setByWeekNo(int[] b)
public void setByYearDay(int[] b)
public void setDtEnd(Calendar end)
public void setDtStart(Calendar start)
public void setDuration(Duration d)
public void setFrequency(int freq)
public void setInterval(int intr)
public void setOccurrence(int occur)
public void setUntil(Calendar u)
public void setWeekStart(int weekstart)
public String toString()
toString
in class Object
protected static long getDayNumber(Calendar cal)
protected static long getMonthNumber(Calendar cal)
protected static long getWeekNumber(Calendar cal)
protected static void reduce_constant_length_field(int field, Calendar start, Calendar candidate)
protected static void reduce_day_of_month(Calendar start, Calendar candidate)
protected static void reduce_day_of_year(Calendar start, Calendar candidate)
protected boolean candidateIsInRecurrence(Calendar candidate, boolean debug)
protected int getMinimumInterval()
protected int getRecurrenceCount(Calendar candidate)
protected boolean matchesByDay(Calendar candidate)
protected boolean matchesByField(int[] array, int field, Calendar candidate, boolean allowNegative)
protected boolean matchesByMonth(Calendar candidate)
protected boolean matchesByMonthDay(Calendar candidate)
protected boolean matchesByWeekNo(Calendar candidate)
protected boolean matchesByYearDay(Calendar candidate)
protected boolean matchesIndividualByDay(Calendar candidate, DayAndPosition pos)
protected String stringizeIntArray(int[] a)
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |