Modifier and Type | Method and Description |
---|---|
Interval |
to(LocalDateTime end)
Creates an
Interval from the current start time until the given end time. |
public Interval to(LocalDateTime end)
Interval
from the current start time until the given end time.end
- must not be null and after the current start time or equal to it.Copyright © 2016 Pivotal Software, Inc.. All rights reserved.