public class SimulatedDateTimeService extends DateTimeService
configuration| Constructor and Description |
|---|
SimulatedDateTimeService() |
| Modifier and Type | Method and Description |
|---|---|
org.joda.time.DateTime |
now() |
long |
nowInMillis() |
void |
setNow(org.joda.time.DateTime now) |
getTimeSlice, getTimeSlice, getTimeSlice, getTimeSlice, hour0, isIn1HourDataRange, isIn24HourDataRnage, isIn6HourDataRnage, isInRawDataRange, setConfigurationpublic void setNow(org.joda.time.DateTime now)
public org.joda.time.DateTime now()
now in class DateTimeServicepublic long nowInMillis()
nowInMillis in class DateTimeServiceCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.