com.atlassian.confluence.util
Class TimePeriod
java.lang.Object
com.atlassian.confluence.util.TimePeriod
- All Implemented Interfaces:
- Serializable
public class TimePeriod
- extends Object
- implements Serializable
Represents a period of time. Consists of a time with a time unit and is immutable.
- See Also:
- Serialized Form
TimePeriod
public TimePeriod(long time,
TimeUnit timeUnit)
TimePeriod
protected TimePeriod()
getPeriod
public long getPeriod()
getTimeUnit
public TimeUnit getTimeUnit()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2003-2013 Atlassian. All Rights Reserved.