(
T end,
TimeMetric<? extends U, P> metric
)
| 456 | * @throws ArithmeticException in case of numerical overflow |
| 457 | */ |
| 458 | public <P> P until( |
| 459 | T end, |
| 460 | TimeMetric<? extends U, P> metric |
| 461 | ) { |
| 462 | |
| 463 | return metric.between(this.getContext(), end); |
| 464 | |
| 465 | } |
| 466 | |
| 467 | /** |
| 468 | * <p>Calculates the temporal distance between this time point and |