Java code to find balance no of days in a financial year
<p>How to find the balance number of days in the current financial year in java. For eg balance days upto march 31.</p>

<pre><code>if(Integer.parseInt(currentmonth)&lt;4){
    currentyears=Integer.parseInt(currentyear)-1;
    finMonth=Integer.parseInt(currentmonth)+9;
    remainMonth=12-finMonth;        
}else{  
    currentyears=Integer.parseInt(currentyear);
    finMonth=Integer.parseInt(currentmonth)-3;
    remainMonth=12-finMonth;
}
</code></pre>

<p>This is my code for finding the financial year. My Problem is to find the remaining days in the financial year.</p>
