Package com.atlassian.confluence.util
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. UsePeriod
.Represents a period of time. Consists of a time with a time unit and is immutable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TimePeriod()
Deprecated.TimePeriod(long time, TimeUnit timeUnit)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description long
convertTo(TimeUnit timeUnit)
Deprecated.long
getPeriod()
Deprecated.TimeUnit
getTimeUnit()
Deprecated.String
toString()
Deprecated.
-
-
-
Constructor Detail
-
TimePeriod
public TimePeriod(long time, TimeUnit timeUnit)
Deprecated.
-
TimePeriod
protected TimePeriod()
Deprecated.
-
-