java.lang.Object
edu.ntnu.idatt1002.g106.handballapp.finalprod.backend.Field

public class Field extends Object
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 Details

  • Constructor Details

    • Field

      public Field(int numField, LocalDate startDate, LocalDate endDate)
      this is the class constructor with needed variables
      Parameters:
      numField -
      startDate -
      endDate -
  • Method Details

    • setAvailabilityBasedOnTime

      @Deprecated public void setAvailabilityBasedOnTime(LocalDateTime localDateTime)
      Deprecated.
    • isAvailableInGivenTimeInterval

      @Deprecated public boolean isAvailableInGivenTimeInterval(LocalDateTime localDateTime)
      Deprecated.
    • isWithinTournamentDays

      @Deprecated public boolean isWithinTournamentDays(LocalDateTime localDateTime)
      Deprecated.
    • generateTimeSchedule

      @Deprecated private void generateTimeSchedule(LocalDate startDate, LocalDate endDate)
      Deprecated.
    • toString

      public String toString()
      toString method that prints out the fields information
      Overrides:
      toString in class Object
      Returns: