Java returns wrong Time object when comparing two Times
<p>I was creating a masterpiece today in java and I needed to calcualte the difference between two times.</p>

<p>So I used <code>Time.getTime()</code> to get long values of the times and subtracted them to get what I want ... </p>

<p>This is my test code :</p>

<pre><code>public static void main(String[] args) {    
    Time time = new Time(00,00,00);
    Time time2 = new Time(02,00,00);
    long longTime = (time2.getTime() - time.getTime());
    Time finalTime = new Time(longTime);
    System.out.println(finalTime.toString());
}
</code></pre>

<p>Now Apparently the printed out string must be 02:00:00</p>

<p>But I am always getting 04:00:00</p>

<p>I tried to change the times a lot , I am always getting the time increased by two hours and I couldn't know why.</p>

<p>I even tried to subtract 00:00:00 and 00:00:00</p>

<p>and instead of getting 00:00:00</p>

<p>I got 02:00:00</p>

<p>So , any help for me ???</p>