The library you linked to also has a getTime() method that returns a Time object, which is a struct that has fields hour, min, and sec. So, it is NOT necessary to get the time as a String and parse it.
If you just must, for no good reason, indexOf() might prove useful, along with substring() and toInt() (which doesn't actually return an int).