|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.beacm.RepeatAdjust
com.compoze.collab.beacm.RepeatMonthlyByDayAdjust
public class RepeatMonthlyByDayAdjust
This class stores the values for a 'repeat monthly by day' adjust. This adjust allows you to specify the day and week of the month to repeat.
For example, for the 2nd Sunday, use RepeatPattern.SUNDAY | RepeatPattern.SECOND_WEEK
when calling addDay(int)
.
Constructor Summary | |
---|---|
RepeatMonthlyByDayAdjust()
Constructor. |
|
RepeatMonthlyByDayAdjust(String[] values)
Constructor. |
Method Summary | |
---|---|
void |
addDay(int iDay)
Adds the day to the repeat values. |
boolean |
containsDay(Date givenDate,
Calendar cal)
Checks to see if this adjust contains the day. |
boolean |
containsDayOfMonth(int iDayOfMonth)
Checks to see if this adjust contains the day of month. |
Methods inherited from class com.compoze.collab.beacm.RepeatAdjust |
---|
getValues, getValuesArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepeatMonthlyByDayAdjust()
values
- the adjust valuespublic RepeatMonthlyByDayAdjust(String[] values)
values
- the adjust valuesMethod Detail |
---|
public void addDay(int iDay)
SUNDAY-SATURDAY
values,
possibly or'd with one of the RepeatPattern.BYWEEK_
values.
If the day is not or'd with a RepeatPattern.BYWEEK_
value,
it is assumed to be the first week.
iDay
- the day (possibly or'd with one of the RepeatPattern.BYWEEK_
constants)public boolean containsDayOfMonth(int iDayOfMonth)
iDayOfMonth
- the day of the month (a combination of day and by-week constants)
true
if it contains the specified day of month; false
otherwisepublic boolean containsDay(Date givenDate, Calendar cal)
givenDate
- the given datecal
- the calendar
true
if it contains the specified day; false
otherwise
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |