Poor performance when using the Calendar API in Java
<p>The following code is giving very bad performance.
I've come to know that there are performance problems with the Calendar API</p>

<pre><code>long startInMilliSec = measFileCreationTime_OssTime;
Calendar thisMoment = Calendar.getInstance();
long currentInMilliSec = thisMoment.getTime().getTime();

if (currentInMilliSec &gt;= startInMilliSec) {
    return (true);
} else {
    return (false);
}
</code></pre>

<p>Is there any alternative for this?</p>
