Check out example codes for "java calendar add minutes". It will help you in understanding the concepts better.

Code Example 1

String myTime = "14:10";
 SimpleDateFormat df = new SimpleDateFormat("HH:mm");
 Date d = df.parse(myTime); 
 Calendar cal = Calendar.getInstance();
 cal.setTime(d);
 cal.add(Calendar.MINUTE, 10);
 String newTime = df.format(cal.getTime());

Learn ReactJs, React Native from akashmittal.com