Need to get String month as an int
<p>I'm passing "Jan", "Feb" etc... as integers to the database I need to be passing 1-12 for the corresponding months, but I'm getting 0-11 from Calendar</p>

<p>This is how Im doing it, please help me tweak this to get the months as 1-12 instead as 0-11</p>

<pre><code>//Get month as an integer.
Date date = new SimpleDateFormat("MMM", Locale.ENGLISH).parse(stringMonth);
Calendar cal = Calendar.getInstance();
cal.setTime(date);
int month = cal.get(Calendar.MONTH);
System.out.println("month ==" + month);
</code></pre>
