title: problem on java calendar function
body: <p>I declared <code>Calendar</code> and <code>SimpleDateFormat</code> like this:</p>
  
  <pre><code>calendar = Calendar.getInstance(TimeZone.getTimeZone("Malaysia"));
  final SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MMMMM.dd hh:mm aaa");
  </code></pre>
  
  <p>or:</p>
  
  <pre><code>calendar = Calendar.getInstance(TimeZone.getTimeZone("GMT+08:00"));
  </code></pre>
  
  <p>Then I call this:</p>
  
  <pre><code>sdf.format(calendar.getTime());
  </code></pre>
  
  <p>but result is not in correct time zone (+8 hours). What could be the problem?</p>