parse a string either describing a time interval or never. for a time interval, the number of seconds is returned. for never or variations, nil is returned.