Partial implementation of periodUntil(Temporal, TemporalUnit)