Class TimePeriod

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

@Deprecated public class TimePeriod extends Object implements Serializable
Deprecated.
Since 5.4.
Represents a period of time. Consists of a time with a time unit and is immutable.
See Also:
  • Constructor Details

    • TimePeriod

      public TimePeriod(long time, TimeUnit timeUnit)
      Deprecated.
    • TimePeriod

      protected TimePeriod()
      Deprecated.
  • Method Details

    • getPeriod

      public long getPeriod()
      Deprecated.
    • getTimeUnit

      public TimeUnit getTimeUnit()
      Deprecated.
    • convertTo

      public long convertTo(TimeUnit timeUnit)
      Deprecated.
    • toString

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