Uses of Class
org.salespointframework.time.Interval
-
Packages that use Interval Package Description org.salespointframework.accountancy Accountancy subsystem.org.salespointframework.order The order subsystem.org.salespointframework.time The time subsystem abstracting the concept of business time. -
-
Uses of Interval in org.salespointframework.accountancy
Methods in org.salespointframework.accountancy that return types with arguments of type Interval Modifier and Type Method Description Map<Interval,org.springframework.data.util.Streamable<AccountancyEntry>>
Accountancy. find(Interval interval, TemporalAmount duration)
Map<Interval,javax.money.MonetaryAmount>
Accountancy. salesVolume(Interval interval, TemporalAmount duration)
Returns the sum of the fieldamount
of allAccountancyEntry
s which have theirdate
within (including)from
andto
.Methods in org.salespointframework.accountancy with parameters of type Interval Modifier and Type Method Description org.springframework.data.util.Streamable<AccountancyEntry>
Accountancy. find(Interval interval)
Returns allAccountancyEntry
s that were created in the givenInterval
.Map<Interval,org.springframework.data.util.Streamable<AccountancyEntry>>
Accountancy. find(Interval interval, TemporalAmount duration)
Map<Interval,javax.money.MonetaryAmount>
Accountancy. salesVolume(Interval interval, TemporalAmount duration)
Returns the sum of the fieldamount
of allAccountancyEntry
s which have theirdate
within (including)from
andto
. -
Uses of Interval in org.salespointframework.order
Methods in org.salespointframework.order with parameters of type Interval Modifier and Type Method Description org.springframework.data.util.Streamable<T>
OrderManager. findBy(Interval interval)
org.springframework.data.util.Streamable<T>
OrderManager. 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
Methods in org.salespointframework.time that return Interval Modifier and Type Method Description Interval
Interval.IntervalBuilder. to(LocalDateTime end)
Creates anInterval
from the current start time until the given end time.Interval
Interval.IntervalBuilder. withLength(TemporalAmount amount)
Creates a newInterval
from the current start time adding the givenTemporalAmount
to it.Methods in org.salespointframework.time that return types with arguments of type Interval Modifier and Type Method Description Iterator<Interval>
Intervals. iterator()
Methods in org.salespointframework.time with parameters of type Interval Modifier and Type Method Description static Intervals
Intervals. divide(Interval interval, TemporalAmount duration)
Divides the givenInterval
into smaller intervals of the given duration.boolean
Interval. overlaps(Interval reference)
Returns whether the currentInterval
overlaps with the given one.
-