Liferay 6.1.2-ce-ga3

com.liferay.util.cal
Class Duration

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

Deprecated. Moved to Duration

public class Duration
extends Object
implements Cloneable, Serializable

See Also:
Serialized Form

Constructor Summary
Duration()
          Deprecated. Constructor Duration
Duration(int w)
          Deprecated. Constructor Duration
Duration(int h, int m, int s)
          Deprecated. Constructor Duration
Duration(int d, int h, int m, int s)
          Deprecated. Constructor Duration
 
Method Summary
protected  void checkNonWeeksOkay(int f)
          Deprecated. Method checkNonWeeksOkay
protected  void checkWeeksOkay(int f)
          Deprecated. Method checkWeeksOkay
 void clear()
          Deprecated. Method clear
 Object clone()
          Deprecated. Method clone
 int getDays()
          Deprecated. Method getDays
 int getHours()
          Deprecated. Method getHours
 long getInterval()
          Deprecated. Method getInterval
 int getMinutes()
          Deprecated. Method getMinutes
 int getSeconds()
          Deprecated. Method getSeconds
 int getWeeks()
          Deprecated. Method getWeeks
protected  void normalize()
          Deprecated. Method normalize
 void setDays(int d)
          Deprecated. Method setDays
 void setHours(int h)
          Deprecated. Method setHours
 void setInterval(long millis)
          Deprecated. Method setInterval
 void setMinutes(int m)
          Deprecated. Method setMinutes
 void setSeconds(int s)
          Deprecated. Method setSeconds
 void setWeeks(int w)
          Deprecated. Method setWeeks
 String toString()
          Deprecated. Method toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Duration

public Duration()
Deprecated. 
Constructor Duration


Duration

public Duration(int w)
Deprecated. 
Constructor Duration


Duration

public Duration(int h,
                int m,
                int s)
Deprecated. 
Constructor Duration


Duration

public Duration(int d,
                int h,
                int m,
                int s)
Deprecated. 
Constructor Duration

Method Detail

clear

public void clear()
Deprecated. 
Method clear


clone

public Object clone()
Deprecated. 
Method clone

Overrides:
clone in class Object
Returns:
Object

getDays

public int getDays()
Deprecated. 
Method getDays

Returns:
int

getHours

public int getHours()
Deprecated. 
Method getHours

Returns:
int

getInterval

public long getInterval()
Deprecated. 
Method getInterval

Returns:
long

getMinutes

public int getMinutes()
Deprecated. 
Method getMinutes

Returns:
int

getSeconds

public int getSeconds()
Deprecated. 
Method getSeconds

Returns:
int

getWeeks

public int getWeeks()
Deprecated. 
Method getWeeks

Returns:
int

setDays

public void setDays(int d)
Deprecated. 
Method setDays


setHours

public void setHours(int h)
Deprecated. 
Method setHours


setInterval

public void setInterval(long millis)
Deprecated. 
Method setInterval


setMinutes

public void setMinutes(int m)
Deprecated. 
Method setMinutes


setSeconds

public void setSeconds(int s)
Deprecated. 
Method setSeconds


setWeeks

public void setWeeks(int w)
Deprecated. 
Method setWeeks


toString

public String toString()
Deprecated. 
Method toString

Overrides:
toString in class Object
Returns:
String

checkNonWeeksOkay

protected void checkNonWeeksOkay(int f)
Deprecated. 
Method checkNonWeeksOkay


checkWeeksOkay

protected void checkWeeksOkay(int f)
Deprecated. 
Method checkWeeksOkay


normalize

protected void normalize()
Deprecated. 
Method normalize


Liferay 6.1.2-ce-ga3