Interface RockStandstill

  • All Known Implementing Classes:
    RockBus, RockShow

    public interface RockStandstill
    • Method Detail

      • getDepartureLocation

        RockLocation getDepartureLocation()
        Returns:
        never null;
      • getDepartureDate

        LocalDate getDepartureDate()
        Returns:
        sometimes null;
      • getDepartureTimeOfDay

        RockTimeOfDay getDepartureTimeOfDay()
        Returns:
        sometimes null;
      • getHosWeekStart

        RockStandstill getHosWeekStart()
        Returns:
        sometimes null;
      • getHosWeekDrivingSecondsTotal

        Long getHosWeekDrivingSecondsTotal()
        Returns:
        sometimes null;
      • getArrivalLocation

        RockLocation getArrivalLocation()
        Returns:
        never null;
      • getDrivingTimeTo

        default long getDrivingTimeTo​(RockStandstill standstill)
        Parameters:
        standstill - never null
        Returns:
        a positive number, in seconds
      • setNextShow

        void setNextShow​(RockShow nextShow)