ho risolto ecco:

long sax = (today.getDate() - toCompare.getDate());