implementing the Ym and Ymd classes
implemented the DateRange class (not tested yet)