Java Utililty Methods Second Get

List of utility methods to do Second Get

Description

The list of methods to do Second Get are organized into topic(s).

Method

inttimeToSeconds(String targetTime)
time To Seconds
int s = 0;
s += (Integer.parseInt(targetTime.split(":")[0]) * 60 * 60);
s += (Integer.parseInt(targetTime.split(":")[1]) * 60);
s += Integer.parseInt(targetTime.split(":")[2]);
return s;