title: Converted unix timestamp with a timezone addition in seconds gives a true local date time on Android emulator but not in real device?
body: <p>I took a date from a web service in UNIX timestamp. I milltuplied it by 1000L then I added the timezone to it in seconds (also provided by the web service) milltiplied by 1000 to obtain the date according to the country in which the application will run and not the UTC date.
  In the emulator the date time provided is correct but when I tested on a real device it provided me the time with 1 hour more which does not correspond to the local time. Where is the problem?</p>
  
  <pre><code>long numberOfsecondsRise = json.getJSONObject("city").getInt("timezone");
  
  long res=(json.getJSONObject("city").getLong("sunrise")*1000L +numberOfsecondsRise*1000) ;
   Date rise=new java.util.Date(res);
   DateFormat dfa = DateFormat.getTimeInstance();
   sunFiled.setText(getResources().getString(R.string.sunrise)+": " + dfa.format(rise));
  </code></pre>