Interface RoundedInstantFactory
- All Known Implementing Classes:
- DefaultRoundedInstantFactory
public interface RoundedInstantFactory
Factory for 
Instant creation for use in driving temporal aspects of the software, such as
 active date filtering in queries.- Author:
- Jeff Fischer
- 
Method SummaryModifier and TypeMethodDescriptionroundNow(TemporalIdentifier temporalIdentifier) Given aTemporalIdentifierinstance, return a rounded version of the current instance in time based on an increment modulus.
- 
Method Details- 
roundNowGiven aTemporalIdentifierinstance, return a rounded version of the current instance in time based on an increment modulus. Also, return the specific instance of current time. The rounded version is useful as a cache key by reducing the jitter.- Parameters:
- temporalIdentifier- The- TemporalIdentifierinstance that can generate the target, specific current time.
- Returns:
- The current, specific time and the rounded time.
 
 
-