|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.compoze.domino.RepeatForUnit
public class RepeatForUnit
This class stores the values for a 'repeat for unit'.
| Field Summary | |
|---|---|
static RepeatForUnit |
DAYS
This value represents a 'days' repeat for unit. |
static RepeatForUnit |
MONTHS
This value represents a 'months' repeat for unit. |
static int |
VALUE_DAYS
This represents the 'days' value. |
static int |
VALUE_MONTHS
This represents the 'months' value. |
static int |
VALUE_WEEKS
This represents the 'weeks' value. |
static int |
VALUE_YEARS
This represents the 'years' value. |
static RepeatForUnit |
WEEKS
This value represents a 'weeks' repeat for unit. |
static RepeatForUnit |
YEARS
This value represents a 'years' repeat for unit. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Checks for equality. |
static RepeatForUnit |
get(int iValue)
Gets the repeat for unit by its value. |
static java.util.List |
getList()
Gets the list of repeat for units. |
java.lang.String |
getName()
Gets the name of the repeat for unit using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the repeat for unit using the specified locale. |
int |
getValue()
Gets the value of the repeat for unit. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int VALUE_DAYS
public static final int VALUE_WEEKS
public static final int VALUE_MONTHS
public static final int VALUE_YEARS
public static final RepeatForUnit DAYS
public static final RepeatForUnit WEEKS
public static final RepeatForUnit MONTHS
public static final RepeatForUnit YEARS
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale - the locale
public int getValue()
public static RepeatForUnit get(int iValue)
iValue - the value to get by
null if not foundpublic static java.util.List getList()
RepeatForUnits (unmodifiable)public boolean equals(java.lang.Object o)
equals in class java.lang.Objecto - the object to check
true if this object has the same store value as the
argument, false otherwisepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(java.util.Locale locale)
locale - the locale
|
Oracle | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||