[tor-commits] [stem/master] Helper function for parsing timestamp/intervals