私の日付オブジェクトの出力は午後 1 時 5 分で、午後 6 時 35 分になるはずです。gmt を gmt 5.30 に変換する方法。
助けてください!
Calendar cal = Calendar.getInstance(); // creates calendar
cal.setTime(new Date()); // sets calendar time/date=====> you can set your own date here
cal.add(Calendar.HOUR_OF_DAY, 5); // adds one hour
cal.add(Calendar.MINUTE, 30); // adds one Minute
cal.getTime(); // returns new date object, one hour in the future
=======>カレンダーへの時刻設定はこちら