U- generic type of time unit
P- generic type of duration object
public interface TimeMetric<U,P>
Computes temporal distances on a time axis as time spans.
Computes the temporal distance between two time points.
Important note: This method might not work in Java 6 under some circumstances.
In case of any problem users can use the equivalent method
until() defined in the class
T- generic type of time point
start- first time point
end- second time point
Copyright © 2014–2018. All rights reserved.