public boolean isBeforeArrival() { LocalTime now = timestampService.getCurrentTime(); return now.isBefore(sessionContext.getArrival()); }
public ScoredRoute getChosenRoute() { User user = sessionContext.getAuthentication().getUser(); return scoredRouteRepository.findRouteByUserAndDay(user, timestampService.getCurrentDate()); }