Package net.time4j.engine
Interface Normalizer<U>
- Type Parameters:
U
- generic type of time unit compatible toChronoUnit
- All Known Implementing Classes:
PlainDate
,PlainTimestamp
public interface Normalizer<U>
Normalizes a time span.
- Author:
- Meno Hochschild
-
Method Summary
-
Method Details
-
normalize
Normalizes given time span such that the amounts of associated time units are converted in a specific way.
- Parameters:
timespan
- time span to be normalized- Returns:
- normalized copy of argument which itself remains unaffected
- See Also:
Duration.with(Normalizer)
-