|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.collab.exchange.DaysOfWeek
This class stores the values for 'days of week'. It maintains an internal bitmask that is used to send a set of days of the week to Exchange.
| Constructor Summary | |
DaysOfWeek()
Constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
int |
getCount()
Gets a count of the number of days of the week that are set. |
int |
getIntValue()
Gets the value that's used to store the day of week in the storage system. |
DayOfWeek |
getMax()
Gets the maximum day of the week for this set. |
boolean |
remove(DayOfWeek dayOfWeek)
Removes a day of the week. |
boolean |
set(DayOfWeek dayOfWeek)
Adds a day of the week. |
java.lang.String |
toString()
Returns a string representation of the days of week |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DaysOfWeek()
| Method Detail |
public boolean set(DayOfWeek dayOfWeek)
dayOfWeek - the day of the week to addtrue if it was added, or false if it
already existspublic boolean remove(DayOfWeek dayOfWeek)
dayOfWeek - the day of the week to removetrue if the day was removed, or false
if it was not in the listpublic int getIntValue()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to checktrue if this object has the same store value as the
argument, false otherwisepublic int getCount()
public DayOfWeek getMax()
public java.lang.String toString()
toString in class java.lang.Object
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||