| java.lang.Object com.liferay.util.cal.Recurrence
Method Summary | |
protected boolean | candidateIsInRecurrence(Calendar candidate, boolean debug) | public DayAndPosition[] | getByDay() | public int[] | getByMonth() | public int[] | getByMonthDay() | public int[] | getByWeekNo() | public int[] | getByYearDay() | public Calendar | getCandidateStartTime(Calendar current) | protected static long | getDayNumber(Calendar cal) | public Calendar | getDtEnd() | public Calendar | getDtStart() | public Duration | getDuration() | public int | getFrequency() | public int | getInterval() | protected int | getMinimumInterval() | protected static long | getMonthNumber(Calendar cal) | public int | getOccurrence() | protected int | getRecurrenceCount(Calendar candidate) | public Calendar | getUntil() | protected static long | getWeekNumber(Calendar cal) | public int | getWeekStart() | public boolean | isInRecurrence(Calendar current) | public boolean | isInRecurrence(Calendar current, boolean debug) | protected boolean | matchesByDay(Calendar candidate) | protected static 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 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) | 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() |
DAILY | final public static int DAILY(Code) | | Field DAILY
|
MONTHLY | final public static int MONTHLY(Code) | | Field MONTHLY
|
NO_RECURRENCE | final public static int NO_RECURRENCE(Code) | | Field NO_RECURRENCE
|
WEEKLY | final public static int WEEKLY(Code) | | Field WEEKLY
|
YEARLY | final public static int YEARLY(Code) | | Field YEARLY
|
byMonth | protected int[] byMonth(Code) | | Field byMonth
|
byMonthDay | protected int[] byMonthDay(Code) | | Field byMonthDay
|
byWeekNo | protected int[] byWeekNo(Code) | | Field byWeekNo
|
byYearDay | protected int[] byYearDay(Code) | | Field byYearDay
|
frequency | protected int frequency(Code) | | Field frequency
|
interval | protected int interval(Code) | | Field interval
|
occurrence | protected int occurrence(Code) | | Field interval
|
Recurrence | public Recurrence()(Code) | | Constructor Recurrence
|
Recurrence | public Recurrence(Calendar start, Duration dur)(Code) | | Constructor Recurrence
Parameters: start - Parameters: dur - |
Recurrence | public Recurrence(Calendar start, Duration dur, int freq)(Code) | | Constructor Recurrence
Parameters: start - Parameters: dur - Parameters: freq - |
candidateIsInRecurrence | protected boolean candidateIsInRecurrence(Calendar candidate, boolean debug)(Code) | | Method candidateIsInRecurrence
Parameters: candidate - Parameters: debug - boolean |
getByMonth | public int[] getByMonth()(Code) | | Method getByMonth
int[] |
getByMonthDay | public int[] getByMonthDay()(Code) | | Method getByMonthDay
int[] |
getByWeekNo | public int[] getByWeekNo()(Code) | | Method getByWeekNo
int[] |
getByYearDay | public int[] getByYearDay()(Code) | | Method getByYearDay
int[] |
getCandidateStartTime | public Calendar getCandidateStartTime(Calendar current)(Code) | | Method getCandidateStartTime
Parameters: current - Calendar |
getDayNumber | protected static long getDayNumber(Calendar cal)(Code) | | Method getDayNumber
Parameters: cal - long |
getDtStart | public Calendar getDtStart()(Code) | | Method getDtStart
Calendar |
getDuration | public Duration getDuration()(Code) | | Method getDuration
Duration |
getFrequency | public int getFrequency()(Code) | | Method getFrequency
int |
getInterval | public int getInterval()(Code) | | Method getInterval
int |
getMinimumInterval | protected int getMinimumInterval()(Code) | | Method getMinimumInterval
int |
getMonthNumber | protected static long getMonthNumber(Calendar cal)(Code) | | Method getMonthNumber
Parameters: cal - long |
getOccurrence | public int getOccurrence()(Code) | | Method getOccurrence
int |
getRecurrenceCount | protected int getRecurrenceCount(Calendar candidate)(Code) | | Method getRecurrenceCount
Parameters: candidate - int |
getWeekNumber | protected static long getWeekNumber(Calendar cal)(Code) | | Method getWeekNumber
Parameters: cal - long |
getWeekStart | public int getWeekStart()(Code) | | Method getWeekStart
int |
isInRecurrence | public boolean isInRecurrence(Calendar current)(Code) | | Method isInRecurrence
Parameters: current - boolean |
isInRecurrence | public boolean isInRecurrence(Calendar current, boolean debug)(Code) | | Method isInRecurrence
Parameters: current - Parameters: debug - boolean |
matchesByDay | protected boolean matchesByDay(Calendar candidate)(Code) | | Method matchesByDay
Parameters: candidate - boolean |
matchesByField | protected static boolean matchesByField(int[] array, int field, Calendar candidate, boolean allowNegative)(Code) | | Method matchesByField
Parameters: array - Parameters: field - Parameters: candidate - Parameters: allowNegative - boolean |
matchesByMonth | protected boolean matchesByMonth(Calendar candidate)(Code) | | Method matchesByMonth
Parameters: candidate - boolean |
matchesByMonthDay | protected boolean matchesByMonthDay(Calendar candidate)(Code) | | Method matchesByMonthDay
Parameters: candidate - boolean |
matchesByWeekNo | protected boolean matchesByWeekNo(Calendar candidate)(Code) | | Method matchesByWeekNo
Parameters: candidate - boolean |
matchesByYearDay | protected boolean matchesByYearDay(Calendar candidate)(Code) | | Method matchesByYearDay
Parameters: candidate - boolean |
matchesIndividualByDay | protected boolean matchesIndividualByDay(Calendar candidate, DayAndPosition pos)(Code) | | Method matchesIndividualByDay
Parameters: candidate - Parameters: pos - boolean |
reduce_constant_length_field | protected static void reduce_constant_length_field(int field, Calendar start, Calendar candidate)(Code) | | Method reduce_constant_length_field
Parameters: field - Parameters: start - Parameters: candidate - |
reduce_day_of_month | protected static void reduce_day_of_month(Calendar start, Calendar candidate)(Code) | | Method reduce_day_of_month
Parameters: start - Parameters: candidate - |
reduce_day_of_year | protected static void reduce_day_of_year(Calendar start, Calendar candidate)(Code) | | Method reduce_day_of_year
Parameters: start - Parameters: candidate - |
setByMonth | public void setByMonth(int[] b)(Code) | | Method setByMonth
Parameters: b - |
setByMonthDay | public void setByMonthDay(int[] b)(Code) | | Method setByMonthDay
Parameters: b - |
setByWeekNo | public void setByWeekNo(int[] b)(Code) | | Method setByWeekNo
Parameters: b - |
setByYearDay | public void setByYearDay(int[] b)(Code) | | Method setByYearDay
Parameters: b - |
setDtEnd | public void setDtEnd(Calendar end)(Code) | | Method setDtEnd
Parameters: end - |
setDtStart | public void setDtStart(Calendar start)(Code) | | Method setDtStart
Parameters: start - |
setDuration | public void setDuration(Duration d)(Code) | | Method setDuration
Parameters: d - |
setFrequency | public void setFrequency(int freq)(Code) | | Method setFrequency
Parameters: freq - |
setInterval | public void setInterval(int intr)(Code) | | Method setInterval
Parameters: intr - |
setOccurrence | public void setOccurrence(int occur)(Code) | | Method setOccurrence
Parameters: occur - |
setUntil | public void setUntil(Calendar u)(Code) | | Method setUntil
Parameters: u - |
setWeekStart | public void setWeekStart(int weekstart)(Code) | | Method setWeekStart
Parameters: weekstart - |
toString | public String toString()(Code) | | Method toString
String |
|
|