Hi!
While reviewing the grammar defined here, I think your library is accepting strings that aren't actually valid. For example, the test cases here allow for a dur-week to be intermingled with a dur-time, and I don't think that is valid.
Anyways, have a great day!