title: Comparing formatted date displayed in textview to current date in android
body: <p>I am making an android app which displays date in textview using simpledateformat. The date can be moved back and forth by using two buttons namely previous and next respectively. </p>
  
  <p>Now the formatted date which is displayed in textview, how do I know whether this date is current or not? </p>