Package org.midheaven.math
Interface Interval.Domain<T,U>
public static interface Interval.Domain<T,U>
-
Method Summary
Modifier and TypeMethodDescriptionapplyMaximum(U maximum) applyMinimum(U minimum) intstatic Interval.Domain<LocalDate, LocalDate> dates()Consider intervals between the dates, not considering time.static Interval.Domain<LocalDateTime, LocalDate> days()Consider intervals between 00h00 of the minimum to the 24h00 of the maximum. 24h00 of the maximum is 00h00 of the next day.static <C extends Comparable<C>>
Interval.Domain<C, C> natural()time()
-
Method Details
-
natural
-
days
Consider intervals between 00h00 of the minimum to the 24h00 of the maximum. 24h00 of the maximum is 00h00 of the next day.- Returns:
-
dates
Consider intervals between the dates, not considering time. -
time
-
compare
-
applyMinimum
-
applyMaximum
-