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