|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.util.TimePeriod
Period
.
@Deprecated public class TimePeriod
Represents a period of time. Consists of a time with a time unit and is immutable.
Constructor Summary | |
---|---|
protected |
TimePeriod()
Deprecated. |
|
TimePeriod(long time,
TimeUnit timeUnit)
Deprecated. |
Method Summary | |
---|---|
long |
convertTo(TimeUnit timeUnit)
Deprecated. |
long |
getPeriod()
Deprecated. |
TimeUnit |
getTimeUnit()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TimePeriod(long time, TimeUnit timeUnit)
protected TimePeriod()
Method Detail |
---|
public long getPeriod()
public TimeUnit getTimeUnit()
public long convertTo(TimeUnit timeUnit)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |