The initialization to null is not really necessary in this case, because d1/d2 are assigned by format.parse before any use of these variables.


The main concept behind Date class is that it...