Added support for holidays and variable times. Closes #2.