@Override public ScheduleResponse getSchedule(ScheduleRequest req) throws TException { String sciper = AuthenticationServiceImpl.authGetUserSciper(); LocalDate date = req.isSetWeekStart() ? new LocalDate(req.getWeekStart()) : getCurrentWeekStart(); String lang = req.isSetLanguage() ? req.getLanguage() : "fr"; try { return _schedule.get(date, lang, sciper); } catch (Exception e) { throw new TException(e); } }