deleted DateMidnight deprecated class