allow setting null-dates in a flexible way