parse From String
Parses time in GTFS format (HH:mm:ss
) to a number of seconds. Note that the amount of hours can be more than 23
Example:
parseFromString("15:45:30") == 56730
parseFromString("26:45:30") == 96330
Content copied to clipboard
Return
Number of seconds
Throws
If the time string is not in correct format