Class Field
java.lang.Object
edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.Field
this class is a construction class that describes how a field is going to look like;
and different methods that will be used to handle a field
- Author:
- Gruppe 6
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<LocalDateTime,Boolean> private LocalDateprivate intprivate LocalDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidgenerateTimeSchedule(LocalDate startDate, LocalDate endDate) Deprecated.booleanisAvailableInGivenTimeInterval(LocalDateTime localDateTime) Deprecated.booleanisWithinTournamentDays(LocalDateTime localDateTime) Deprecated.voidsetAvailabilityBasedOnTime(LocalDateTime localDateTime) Deprecated.toString()toString method that prints out the fields information
-
Field Details
-
numField
private int numField -
availabilitySchedule
-
startDate
-
endDate
-
-
Constructor Details
-
Field
this is the class constructor with needed variables- Parameters:
numField-startDate-endDate-
-
-
Method Details