com.atlassian.confluence.util
Class TimePeriod

java.lang.Object
  extended by com.atlassian.confluence.util.TimePeriod
All Implemented Interfaces:
java.io.Serializable

Deprecated. Since 5.4. Use Period.

@Deprecated
public class TimePeriod
extends java.lang.Object
implements java.io.Serializable

Represents a period of time. Consists of a time with a time unit and is immutable.

See Also:
Serialized Form

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

TimePeriod

public TimePeriod(long time,
                  java.util.concurrent.TimeUnit timeUnit)
Deprecated. 

TimePeriod

protected TimePeriod()
Deprecated. 
Method Detail

getPeriod

public long getPeriod()
Deprecated. 

getTimeUnit

public java.util.concurrent.TimeUnit getTimeUnit()
Deprecated. 

convertTo

public long convertTo(java.util.concurrent.TimeUnit timeUnit)
Deprecated. 

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.