Package | Description |
---|---|
be.ac.ulb.infof307.g02.models | |
be.ac.ulb.infof307.g02.views |
Modifier and Type | Field and Description |
---|---|
private Day |
DaySchedule.day |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Day> |
FilterData.openingDays
The days during which the shops must be open
|
Modifier and Type | Method and Description |
---|---|
private Day |
DaySchedule.getDay() |
static Day |
Day.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Day[] |
Day.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Day> |
FilterData.getOpeningDays() |
Modifier and Type | Method and Description |
---|---|
void |
Schedule.addTimeSlot(TimeSlot newTimeSlot,
Day day)
Adds a TimeSlot to the schedule
|
private void |
ShopFilterer.filterShopsByDay(Day day)
Removes the shops that aren't open on a given day
|
java.util.List<TimeSlot> |
Schedule.getDayTimeSlots(Day day)
Gets all the TimeSlots for a day
|
Constructor and Description |
---|
DaySchedule(Day day)
Default constructor.
|
Constructor and Description |
---|
FilterData(java.lang.String name,
int maxDistance,
java.util.List<Day> openingDays,
Time openingTime,
java.util.List<Product> productList) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Day> |
MapView.getSelectedDays()
Gets all the days that the user has selected
|