You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.AssertionError
at com.google.common.collect.Cut$AboveAll.describeAsLowerBound(Cut.java:259)
at com.google.common.collect.Range.toString(Range.java:674)
at com.google.common.collect.Range.<init>(Range.java:357)
at com.google.common.collect.Range.create(Range.java:155)
at com.google.common.collect.Range.gap(Range.java:582)
The text was updated successfully, but these errors were encountered:
…two ranges. This operation is particularly useful as a replacement for Joda Time's Interval.gap when migrating to Java Time which has no Interval class.
Joda Time:
Interval interval = ...;
Interval gap = interval.gap(interval);
Java Time (after this CL):
Range<Instant> interval = ...;
Range<Instant> gap = interval.gap(otherInterval);
RELNOTES=Adds a gap() method to Range that computes the Range that lies between them.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=208259360
@zhanhb reports:
java.lang.AssertionError at com.google.common.collect.Cut$AboveAll.describeAsLowerBound(Cut.java:259) at com.google.common.collect.Range.toString(Range.java:674) at com.google.common.collect.Range.<init>(Range.java:357) at com.google.common.collect.Range.create(Range.java:155) at com.google.common.collect.Range.gap(Range.java:582)
The text was updated successfully, but these errors were encountered: