How to call a method on specific time in java?
<p>Is it possible to call a method in java at specific time? for example: If i have a peice of code like this:</p>

<pre><code>class Test{
 ....
// parameters 
....

public static void main(String args[]) {
   // here i want to call foo at : 2012-07-06 13:05:45 for instance
  foo();
}
}
</code></pre>

<p>How this can be done in java? </p>
