if (dataStartTime > _currentTime) {
TimerEvent timeEvent = null;
// If first timestamp to set, then advance to data time.
if (_currentTime != Long.MIN_VALUE) {
_currentTime = dataStartTime;
timeEvent = new CurrentTimeEvent(_currentTime
- _timeTolerance);
_log.debug("Sending time event new time: {}", _currentTime);
_log.debug("Data items per time interval: {}",
_itemsCounter);
_itemsCounter = 0;
}
// Advance to new data time.
else {
_currentTime = dataStartTime;
timeEvent = new CurrentTimeEvent(_currentTime
- _timeTolerance);
_log.debug("Setting start time: {}", _currentTime);
_log.debug("Data items per time interval: {}",
_itemsCounter);
_itemsCounter = 0;