public class BookingGroup
extends java.lang.Object
| Constructor and Description |
|---|
BookingGroup(java.lang.String firstKey,
java.lang.String secondKey,
java.lang.String name,
Group.Type groupType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEffective(java.time.LocalDate referenceDate,
java.util.List<WrappedBooking> bookings)
Calculate the effectiveness of the category.
|
boolean |
isIncome() |
protected Cycle cycle
public BookingGroup(java.lang.String firstKey,
java.lang.String secondKey,
java.lang.String name,
Group.Type groupType)
public boolean isEffective(java.time.LocalDate referenceDate,
java.util.List<WrappedBooking> bookings)
referenceDate - - a date on that the category is effectivebookings - - bookings to considerpublic boolean isIncome()
Copyright © 2018. All rights reserved.