Returns true if the two DateTime objects have the same day, month, and year, or are both null.
bool isSameDayWith(DateTime dateB) => material.DateUtils.isSameDay(this, dateB);