Merge pull request #15 from rbosa/master

Add handling for INF duration for Periodic.