title: Set date of calendar
body: <p>Ok, so what I'm trying to do is to set the set the date of a calendar instance, and then return the week_of_year. I am doing so by using the Calendar.set() functio</p>
  
  <pre><code>public String weekInYearForm = "ww";
  SimpleDateFormat formWIM = new SimpleDateFormat(weekInYearForm, Locale.US);
  
  Calendar lc = Calendar.getInstance();
      lc.set(Calendar.YEAR, lYear);
      lc.set(Calendar.MONTH, lMonth);
      lc.set(Calendar.DAY_OF_MONTH, lDay);
  
  
      wiy = formWIM.format(lc.get(Calendar.WEEK_OF_YEAR));
  </code></pre>
  
  <p>To get the lYear, lMonth, and lDay values, I am passing a string in the format <code>04/26/2013</code> to through the following steps: </p>
  
  <pre><code>String[] arrDate = dateIn.split("/");
  int lMonth = Integer.parseInt(arrDate[0]) - 1;
  Log.d("SaveHandler", "Month is: " + lMonth);
  int lDay = Integer.parseInt(arrDate[1]);
  Log.d("SaveHandler", "Day is: " + lDay);
  int lYear = Integer.parseInt(arrDate[2]);
  Log.d("SaveHandler", "Year is: " + lYear);
  </code></pre>
  
  <p>The problem I am facing is that when I look at what is outputed to wiy, it is always 1. Upon some further debugging, I realized that the time is being left at epoch time, and not setting to the values I need.</p>
  
  <p>I also tried using <code>lc.set(lYear, lMonth, lDay)</code>, also to no avail. If anyone has any ideas, I would greatly appreciate them.</p>
  
  <p>*EDIT: I did some debugging earlier and it is returning 1970 for the year and 0 for the month.</p>