|
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.DayAndPosition
DayAndPosition
public class DayAndPosition
Field Summary | |
---|---|
static int |
NO_WEEKDAY
Deprecated. Field NO_WEEKDAY |
Constructor Summary | |
---|---|
DayAndPosition()
Deprecated. Constructs a DayAndPosition |
|
DayAndPosition(int d,
int p)
Deprecated. Constructs a DayAndPosition with the day of the week and day position. |
Method Summary | |
---|---|
Object |
clone()
Deprecated. Returns a clone of this DayAndPosition. |
boolean |
equals(Object obj)
Deprecated. Returns true if the object equals this DayAndPosition. |
int |
getDayOfWeek()
Deprecated. Returns the day of the week. |
int |
getDayPosition()
Deprecated. Returns the day position. |
int |
hashCode()
Deprecated. Returns the hash code of this DayAndPosition. |
static boolean |
isValidDayOfWeek(int d)
Deprecated. Returns true if the day is a valid day of the week. |
static boolean |
isValidDayPosition(int p)
Deprecated. Returns true if the day position is valid. |
void |
setDayOfWeek(int d)
Deprecated. Sets the day of the week |
void |
setDayPosition(int p)
Deprecated. Sets the day position |
String |
toString()
Deprecated. Returns a string representation of the DayAndPosition |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NO_WEEKDAY
Constructor Detail |
---|
public DayAndPosition()
public DayAndPosition(int d, int p)
Method Detail |
---|
public static boolean isValidDayOfWeek(int d)
true
if the day is a valid day of the week.
d
- the day of the week in terms of Calendar
or
NO_WEEKDAY
true
if the day is a valid day of the week;
false
otherwisepublic static boolean isValidDayPosition(int p)
true
if the day position is valid.
p
- the day position
true
if the day position is valid;
false
otherwisepublic Object clone()
clone
in class Object
public boolean equals(Object obj)
true
if the object equals this DayAndPosition.
equals
in class Object
obj
- the other object
true
if the object equals this DayAndPosition,
false
otherwisepublic int getDayOfWeek()
public int getDayPosition()
public int hashCode()
hashCode
in class Object
public void setDayOfWeek(int d)
d
- the day of the weekpublic void setDayPosition(int p)
p
- the day positionpublic String toString()
toString
in class Object
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |