Run a method if Date is the next day
<p>I want do something like this:</p>

<pre><code>protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity);

 int i = (int) (new Date().getTime()/1000);

   if(      ) // next day
     {
         mymethod();
     }
}
</code></pre>

<p>When in system date is a new day, then I want to call <code>mymethod()</code></p>