allow passing an instance of DateTime to Date::setValue()
typo
Fixed clearing of repeated static element (bug #19802)
Fixed possible warning on Repeat::getValue()