Added CRM/Utils/DatePeriod.php, tests/phpunit/CRM/Utils/DatePeriodTest.php for recurring entities.