interval parsing