Calendar manipulation optimizations suggested by deinspanjer
Merge pull request #3 from webdetails/master

Performance optimizations when dealing with date fields