|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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,
java.util.concurrent.TimeUnit timeUnit)
Deprecated. |
| Method Summary | |
|---|---|
long |
convertTo(java.util.concurrent.TimeUnit timeUnit)
Deprecated. |
long |
getPeriod()
Deprecated. |
java.util.concurrent.TimeUnit |
getTimeUnit()
Deprecated. |
java.lang.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,
java.util.concurrent.TimeUnit timeUnit)
protected TimePeriod()
| Method Detail |
|---|
public long getPeriod()
public java.util.concurrent.TimeUnit getTimeUnit()
public long convertTo(java.util.concurrent.TimeUnit timeUnit)
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 | |||||||||