We should probably rename `parseRange` to `parseDuration` since it's becoming generic.