Added simple check to make sure a user doesn't pass a period that is not supported
Merge pull request #7 from gabceb/master

Added check to make sure the period provided is supported