Uses of Class
org.salespointframework.time.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,Streamable<AccountancyEntry>>Accountancy. find(Interval interval, TemporalAmount duration)Map<Interval,javax.money.MonetaryAmount>Accountancy. salesVolume(Interval interval, TemporalAmount duration)Returns the sum of the fieldamountof allAccountancyEntrys which have theirdatewithin (including)fromandto.Methods in org.salespointframework.accountancy with parameters of type Interval Modifier and Type Method Description Streamable<AccountancyEntry>Accountancy. find(Interval interval)Returns allAccountancyEntrys that were created in the givenInterval.Map<Interval,Streamable<AccountancyEntry>>Accountancy. find(Interval interval, TemporalAmount duration)Map<Interval,javax.money.MonetaryAmount>Accountancy. salesVolume(Interval interval, TemporalAmount duration)Returns the sum of the fieldamountof allAccountancyEntrys which have theirdatewithin (including)fromandto. -
Uses of Interval in org.salespointframework.order
Methods in org.salespointframework.order with parameters of type Interval Modifier and Type Method Description Streamable<T>OrderManagement. findBy(Interval interval)Streamable<T>OrderManagement. findBy(UserAccount userAccount, Interval interval)Returns allOrders from the givenUserAccountin between the datesfromandto, including from and to. -
Uses of Interval in org.salespointframework.time
Methods in org.salespointframework.time that return Interval Modifier and Type Method Description IntervalInterval.IntervalBuilder. to(LocalDateTime end)Creates anIntervalfrom the current start time until the given end time.IntervalInterval.IntervalBuilder. withLength(TemporalAmount amount)Creates a newIntervalfrom the current start time adding the givenTemporalAmountto 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 IntervalsIntervals. divide(Interval interval, TemporalAmount duration)Divides the givenIntervalinto smaller intervals of the given duration.booleanInterval. overlaps(Interval reference)Returns whether the currentIntervaloverlaps with the given one.