public final class NullSync extends Sync.Abstract
Instances of this class may be used as a place holder for other syncs.
Sync.Abstract
CRONTAB_PARAM, ELAPSED_PARAM, OFFSET_PARAM, STAMP_PARAM, TIME_ZONE_PARAM
Constructor and Description |
---|
NullSync()
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
Sync |
copy()
Creates a copy of this.
|
Optional<DateTime> |
getNextStamp()
Gets the next time stamp.
|
Optional<DateTime> |
getPreviousStamp()
Gets the previous time stamp.
|
boolean |
isInSync()
Asks if the current time stamp is in sync.
|
checkNotFrozen, freeze, getCurrentStamp, getDefaultLimits, getFirstStamp, getLastStamp, getLimits, getNextStamp, getNextStamp, getNextStamp, getPreviousStamp, getPreviousStamp, getPreviousStamp, getThisLogger, getZoneId, isBounded, isInSync, iterator, iterator, nextStamp, previousStamp, readExternal, reverseIterator, reverseIterator, seed, setCurrentStamp, setLimits, setUp, setZoneId, tearDown, toString, writeExternal
public Sync copy()
public Optional<DateTime> getNextStamp()
public Optional<DateTime> getPreviousStamp()
public boolean isInSync()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.