/** * Returns the local date associated with a given fixture object. * * @param fixtureObject to get local date from * @return local date * @throws JSONException if a problem was encountered parsing the fixture object * @throws ParseException if a problem was encountered parsing the date string. */ protected String getLocalDate(@NonNull JSONObject fixtureObject) throws JSONException, ParseException { return FootballServiceContract.getLocalDate(fixtureObject); }
/** * Returns the match id associated with a given fixture object. * * @param fixtureObject to get match id from * @return match id * @throws JSONException if a problem was encountered parsing the fixture object. */ protected String getMatchId(@NonNull JSONObject fixtureObject) throws JSONException { return FootballServiceContract.getMatchId(fixtureObject); }