These are overloaded methods. Both these methods are used from other places. Major difference is in "dateVoided", which is assumed to be a new Date() in the first method, whereas we pass "dateVoided" as arguments in second.