Uses of Class
org.salespointframework.time.Interval
Package
Description
Accountancy subsystem with services for accounting and bookkeeping.
The order subsystem.
The time subsystem abstracting the concept of business time.
-
Uses of Interval in org.salespointframework.accountancy
Modifier and TypeMethodDescriptionAccountancy.find
(Interval interval, TemporalAmount duration) Returns allAccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration.<T extends AccountancyEntry>
Map<Interval, Streamable<T>> Accountancy.find
(Interval interval, TemporalAmount duration, Class<T> type) Returns allAccountancyEntry
s of the given type within the given interval, grouped by sub-intervals of the given duration.Accountancy.salesVolume
(Interval interval, TemporalAmount duration) Computes the sales volume, i.e., the sum ofAccountancyEntry.getValue()
, for allAccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration.Modifier and TypeMethodDescription<T extends AccountancyEntry>
Streamable<T> Returns allAccountancyEntry
s of the given type for the givenInterval
.Accountancy.find
(Interval interval, TemporalAmount duration) Returns allAccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration.<T extends AccountancyEntry>
Map<Interval, Streamable<T>> Accountancy.find
(Interval interval, TemporalAmount duration, Class<T> type) Returns allAccountancyEntry
s of the given type within the given interval, grouped by sub-intervals of the given duration.Accountancy.salesVolume
(Interval interval, TemporalAmount duration) Computes the sales volume, i.e., the sum ofAccountancyEntry.getValue()
, for allAccountancyEntry
s within the given interval, grouped by sub-intervals of the given duration. -
Uses of Interval in org.salespointframework.order
Modifier and TypeMethodDescriptionOrderManagement.findBy
(UserAccount userAccount, Interval interval) Returns allOrder
s from the givenUserAccount
in between the datesfrom
andto
, including from and to. -
Uses of Interval in org.salespointframework.time
Modifier and TypeMethodDescriptionInterval.IntervalBuilder.to
(LocalDateTime end) Creates anInterval
from the current start time until the given end time.Interval.IntervalBuilder.withLength
(TemporalAmount amount) Creates a newInterval
from the current start time adding the givenTemporalAmount
to it.