I have this problem:
Calendar c = Calendar.getInstance();
Log.i("RESULTADO", String.valueOf(c.get(Calendar.HOUR_OF_DAY)));
Log.i("RESULTADO", String.valueOf(c.get(Calendar.MINUTE)));
This gives in the logcat:
I/RESULTADO: 10
I/RESULTADO: 40
And it's 19:25. The same code with an IDE that is not Android Studio gives the correct result. Do you know why it fails?