Add own Date_Period class because the one from php doesn't fit the requirements (mainly the contains function)