title: How to call a method on specific time in java?
body: <p>Is it possible to call a method in java at specific time? For example of I have a piece of code like this:</p>
  
  <pre><code>class Test{
  
      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>