title: How do I time a method's execution in Java?
body: <ol>
  <li>How do I get a method's execution time?  </li>
  <li>Is there a <code>Timer</code> utility class for things like timing how long a task takes, etc?  </li>
  </ol>
  
  <p>Most of the searches on Google return results for timers that schedule threads and tasks, which is not what I want.</p>