title: Split date/time strings
body: <p>I have a ReST service which downloads information about events in a persons calendar...</p>
  
  <p>When it returns the date and time, it returns them as a string</p>
  
  <p>e.g. date = "12/8/2012" &amp; time = "11:25 am"</p>
  
  <p>To put this into the android calendar, I need to do the following:</p>
  
  <pre><code>Calendar beginTime = Calendar.getInstance();
  beginTime.set(year, month, day, hour, min);
  startMillis = beginTime.getTimeInMillis();
  intent.put(Events.DTSTART, startMillis);
  </code></pre>
  
  <p>How can I split the date and time variables so that they are useable in the "beginTime.set() " method?</p>