com.liferay.util.cal
Class DayAndPosition

java.lang.Object
  extended by com.liferay.util.cal.DayAndPosition
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

Deprecated. This class has been repackaged at com.liferay.portal.kernel.cal.

public class DayAndPosition
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable

View Source

Author:
Jonathan Lennox
See Also:
Serialized Form

Field Summary
static int NO_WEEKDAY
          Deprecated. Field NO_WEEKDAY
 
Constructor Summary
DayAndPosition()
          Deprecated. Constructor DayAndPosition
DayAndPosition(int d, int p)
          Deprecated. Constructor DayAndPosition
 
Method Summary
 java.lang.Object clone()
          Deprecated. Method clone
 boolean equals(java.lang.Object obj)
          Deprecated. Method equals
 int getDayOfWeek()
          Deprecated. Method getDayOfWeek
 int getDayPosition()
          Deprecated. Method getDayPosition
static boolean isValidDayOfWeek(int d)
          Deprecated. Method isValidDayOfWeek
static boolean isValidDayPosition(int p)
          Deprecated. Method isValidDayPosition
 void setDayOfWeek(int d)
          Deprecated. Method setDayOfWeek
 void setDayPosition(int p)
          Deprecated. Method setDayPosition
 java.lang.String toString()
          Deprecated. Method toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_WEEKDAY

public static final int NO_WEEKDAY
Deprecated. 
Field NO_WEEKDAY

See Also:
Constant Field Values
Constructor Detail

DayAndPosition

public DayAndPosition()
Deprecated. 
Constructor DayAndPosition


DayAndPosition

public DayAndPosition(int d,
                      int p)
Deprecated. 
Constructor DayAndPosition

Parameters:
d -
p -
Method Detail

getDayOfWeek

public int getDayOfWeek()
Deprecated. 
Method getDayOfWeek

Returns:
int

setDayOfWeek

public void setDayOfWeek(int d)
Deprecated. 
Method setDayOfWeek

Parameters:
d -

getDayPosition

public int getDayPosition()
Deprecated. 
Method getDayPosition

Returns:
int

setDayPosition

public void setDayPosition(int p)
Deprecated. 
Method setDayPosition

Parameters:
p -

equals

public boolean equals(java.lang.Object obj)
Deprecated. 
Method equals

Overrides:
equals in class java.lang.Object
Parameters:
obj -
Returns:
boolean

isValidDayOfWeek

public static boolean isValidDayOfWeek(int d)
Deprecated. 
Method isValidDayOfWeek

Parameters:
d -
Returns:
boolean

isValidDayPosition

public static boolean isValidDayPosition(int p)
Deprecated. 
Method isValidDayPosition

Parameters:
p -
Returns:
boolean

clone

public java.lang.Object clone()
Deprecated. 
Method clone

Overrides:
clone in class java.lang.Object
Returns:
Object

toString

public java.lang.String toString()
Deprecated. 
Method toString

Overrides:
toString in class java.lang.Object
Returns:
String