I am getting a time from API like this "00:00" and I want to add Device GMT time to received time from API.
I am using following code for getting GMT Time of device
Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT"),
Locale.US);
Date currentLocalTime = calendar.getTime();
DateFormat date = new SimpleDateFormat("dd:MM:yyyy HH:mm z");
String localTime = date.format(currentLocalTime);
Log.v("GMT time:", localTime + "");
Is there any inbuilt method to add GMT time to a specific time?