public class SettableClock extends Object implements com.atlassian.core.util.Clock
Constructor and Description |
---|
SettableClock() |
Modifier and Type | Method and Description |
---|---|
Date |
getCurrentDate() |
void |
setCurrentDate(Date date) |
void |
setCurrentDate(org.joda.time.DateTime dateTime) |
void |
setCurrentDate(long dateMs) |
public void setCurrentDate(org.joda.time.DateTime dateTime)
public void setCurrentDate(Date date)
public void setCurrentDate(long dateMs)
public Date getCurrentDate()
getCurrentDate
in interface com.atlassian.core.util.Clock
Copyright © 2003–2021 Atlassian. All rights reserved.