|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.kernel.cal.Duration
public class Duration
Constructor Summary | |
---|---|
Duration()
Constructor Duration |
|
Duration(int w)
Constructor Duration |
|
Duration(int h,
int m,
int s)
Constructor Duration |
|
Duration(int d,
int h,
int m,
int s)
Constructor Duration |
Method Summary | |
---|---|
protected void |
checkNonWeeksOkay(int f)
Method checkNonWeeksOkay |
protected void |
checkWeeksOkay(int f)
Method checkWeeksOkay |
void |
clear()
Method clear |
java.lang.Object |
clone()
Method clone |
int |
getDays()
Method getDays |
int |
getHours()
Method getHours |
long |
getInterval()
Method getInterval |
int |
getMinutes()
Method getMinutes |
int |
getSeconds()
Method getSeconds |
int |
getWeeks()
Method getWeeks |
protected void |
normalize()
Method normalize |
void |
setDays(int d)
Method setDays |
void |
setHours(int h)
Method setHours |
void |
setInterval(long millis)
Method setInterval |
void |
setMinutes(int m)
Method setMinutes |
void |
setSeconds(int s)
Method setSeconds |
void |
setWeeks(int w)
Method setWeeks |
java.lang.String |
toString()
Method toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Duration()
public Duration(int d, int h, int m, int s)
d
- h
- m
- s
- public Duration(int h, int m, int s)
h
- m
- s
- public Duration(int w)
w
- Method Detail |
---|
public void clear()
public int getWeeks()
public void setWeeks(int w)
w
- public int getDays()
public void setDays(int d)
d
- public int getHours()
public void setHours(int h)
h
- public int getMinutes()
public void setMinutes(int m)
m
- public int getSeconds()
public void setSeconds(int s)
s
- public long getInterval()
public void setInterval(long millis)
millis
- protected void normalize()
protected void checkWeeksOkay(int f)
f
- protected void checkNonWeeksOkay(int f)
f
- public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |