public class

CompositeClock

extends Object
implements Clock
java.lang.Object
   ↳ com.atlassian.jira.util.CompositeClock

Class Overview

Composite clock that returns answer from one of the clocks it builds upon, depending on the number of times it was called already.

Summary

Public Constructors
CompositeClock(Clock initialClock)
Public Methods
CompositeClock addClock(int startFromCall, Clock clock)
Date getCurrentDate()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.core.util.Clock

Public Constructors

public CompositeClock (Clock initialClock)

Public Methods

public CompositeClock addClock (int startFromCall, Clock clock)

public Date getCurrentDate ()