title: How to use Calendar.getInstance with specified Locale
body: <p>I am trying to use <code>Calendar.getInstance(Locale l)</code> with specified <code>Locale</code> and is not working. I cannot figure out what I am doing wrong.</p>
  
  <p>The Java Doc. say:</p>
  
  <blockquote>
    <p><strong>getInstance
    public static Calendar getInstance(Locale aLocale)</strong>
    Gets a calendar using the default time zone and specified locale. <strong>The Calendar returned is based on the current time in the default time zone with the given locale.</strong>
    Parameters:
    aLocale - the locale for the week data
    Returns:
    a Calendar.</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code> public static void main (String[] args){
  
       Locale local = new Locale("pt", "BR");
  
       Calendar c = Calendar.getInstance(local); // here I am using the method
       System.out.println(c.getTime()); // and here, I cannot figure out why is not working
  
  
       DateFormat dt = DateFormat.getDateInstance(DateFormat.LONG, local);
       String s = dt.format(c.getTime());
       System.out.println(s); // here just a example in portuguese Brasil
   }
  </code></pre>
  
  <p>Output:</p>
  
  <blockquote>
    <p>Wed Apr 29 10:18:16 BRT 2015</p>
    
    <p>29 de Abril de 2015</p>
  </blockquote>
  
  <p>Should the first <code>print</code> must be in <code>Locale("pt", "BR")</code>, in portuguese?</p>