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
Modifier and TypeFieldDescriptionprivate Map<LocalDateTime,
Boolean> private LocalDate
private int
private LocalDate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
generateTimeSchedule
(LocalDate startDate, LocalDate endDate) Deprecated.boolean
isAvailableInGivenTimeInterval
(LocalDateTime localDateTime) Deprecated.boolean
isWithinTournamentDays
(LocalDateTime localDateTime) Deprecated.void
setAvailabilityBasedOnTime
(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