Whats is the right way to get elapsed time and reset it
<p>In my android program i  am using two calandar instance to get the elapsed time in my program, 
first i set a level starting time as follows </p>

<pre><code>level_Start_TimeCal = Calendar.getInstance();   
</code></pre>

<p>and in my thread i am calculating elapsed time  as follows</p>

<pre><code>level_current_TimeCal = Calendar.getInstance();
gameTime = level_current_TimeCal.getTimeInMillis()- level_Start_TimeCal.getTimeInMillis();                      
dsecs = (gameTime / 1000)%60;
dminutes = (gameTime / (60 * 1000))%60;
dhours = (gameTime / (60 * 60 * 1000))%60;
</code></pre>

<p>Recently i came to read the following</p>

<blockquote>
  <p>Calendar's getInstance method returns a Calendar object whose calendar
  fields have been initialized with the current date and time</p>
</blockquote>

<p>I want to know  is I am  in right path?<br/>
do i am creating an object each time the thread running? <br/>
If yes do there is any alternative to avoid creating unwanted objects and calculating elapsed time?
Final question At some point i want to reset the time in my restart method I reset it by just calling getInstance in my reset metohd as follows </p>

<pre><code>public void restart() {
 level_Start_TimeCal = Calendar.getInstance();
}
</code></pre>

<p>Do this is the correct way to rest the calandar ?</p>

<p>Thanks to all for your valuable answers,suggestions and Time .. </p>
