Android/app/src/main/java/io/github/project_travel_mate/destinations/CityFragment.java
private boolean checkCachedCities(List<City> mCities) {
        if (mCities.size() == 0 || is24Hours()) {
            return true;
        } else {
            return false;
        }
    }
/**
     * Check cached cities with expiration time 24 hours
     * @param mCities
     **/
Check cached cities with expiration time 24 hours
@param mCities
Check cached cities with expiration time 24 hours @param mCities
private boolean checkCachedCities(List<City> mCities) {
        if (mCities.size() == 0 || is24Hours()) {
            return true;
        } else {
            return false;
        }
    }
private boolean checkCachedCities ( List < City > mCities ) { if ( mCities . size ( ) == 0 || is24Hours ( ) ) { return true ; } else { return false ; } }
Check cached cities with expiration time 24 hours
 @param mCities
Check cached cities with expiration time 24 hours @param mCities