@Test public void testGetQueryTime() throws Exception { long now = System.currentTimeMillis(); OpenWeatherMapWeather weather = WeatherUtils.createIncompleteOpenWeather(context); assertTrue(now <= weather.getQueryTime().getTime()); }
@Override public Date getQueryTime() { return new Date(this.queryTime.getTime()); }
OpenWeatherMapWeather implements Weather { @Override public Date getQueryTime() { return new Date(this.queryTime.getTime()); } }
OpenWeatherMapWeather implements Weather { @Override public Date getQueryTime() { return new Date(this.queryTime.getTime()); } OpenWeatherMapWeather(Context context);  OpenWeatherMapWeather(Context context, JSONObject jsonObject); }
OpenWeatherMapWeather implements Weather { @Override public Date getQueryTime() { return new Date(this.queryTime.getTime()); } OpenWeatherMapWeather(Context context);  OpenWeatherMapWeather(Context context, JSONObject jsonObject); @Override Location getLocation(); @Override Date getTime(); @Override Date getQueryTime(); @Override UnitSystem getUnitSystem(); @Override List<WeatherCondition> getConditions(); @Override boolean isEmpty(); int getCityId(); URL getForecastURL(); }
OpenWeatherMapWeather implements Weather { @Override public Date getQueryTime() { return new Date(this.queryTime.getTime()); } OpenWeatherMapWeather(Context context);  OpenWeatherMapWeather(Context context, JSONObject jsonObject); @Override Location getLocation(); @Override Date getTime(); @Override Date getQueryTime(); @Override UnitSystem getUnitSystem(); @Override List<WeatherCondition> getConditions(); @Override boolean isEmpty(); int getCityId(); URL getForecastURL();  }