public static class DateEntityRange.DefaultImpls
Both class DateEntityValue && class DateIntervalEntityValue can be seen as date range.
@NotNull public static java.time.ZonedDateTime inclusiveEnd(DateEntityRange $this)
Returns the end inclusive date.
from 9h to 10h -> 10h
from 9h to 10h00 -> 10h
9h -> 10h
@NotNull public static java.time.ZonedDateTime inclusiveEnd(DateEntityRange $this, @NotNull java.time.ZoneId zoneId)
Returns the end inclusive date. Ie:
from 9h to 10h -> 10h
from 9h to 10h00 -> 10h
9h -> 10h
this morning (4h to 12h) -> 12h
@NotNull public static java.time.ZonedDateTime end(DateEntityRange $this)
Returns the end exclusive date.
from 9h to 10h -> 11h
from 9h to 10h00 -> 10h01
9h -> 10h
this morning (4h to 12h) -> 13h