title: How to display common era ("CE") in Java-8?
body: <p>Following code does not print "CE" or "Current Era":</p>
  
  <pre><code>System.out.println(IsoEra.CE.getDisplayName(TextStyle.SHORT, Locale.UK)); // output: AD
  System.out.println(IsoEra.CE.getDisplayName(TextStyle.FULL, Locale.UK)); // output: Anno Domini
  </code></pre>
  
  <p>Of course, <code>IsoEra.CE.name()</code> helps but not if the full display name like "common era" or "current era" is required. I consider this a little bit strange because the javadoc of <code>IsoEra</code> explicitly mentions the term "Current era" in its class description. It does not even work for root locale. The use-case here is to serve clients with a non-religious background.</p>
  
  <p>This does not help, too:</p>
  
  <pre><code>LocalDate date = LocalDate.now();
  String year = date.format(DateTimeFormatter.ofPattern("G yyyy", Locale.UK)); // AD 2015
  System.out.println(year);
  </code></pre>
  
  <p>The only way I found was:</p>
  
  <pre><code>TextStyle style = ...;
  Map&lt;Long,String&gt; eras = new HashMap&lt;&gt;();
  long bce = (long) IsoEra.BCE.getValue(); // 0L
  long ce = (long) IsoEra.CE.getValue(); // 1L
  if (style == TextStyle.FULL) {
    eras.put(bce, "Before current era");
    eras.put(ce, "Current era");
  } else {
    eras.put(bce, "BCE");
    eras.put(ce, "CE");
  }
  DateTimeFormatter dtf = 
    new DateTimeFormatterBuilder()
    .appendText(ChronoField.ERA, eras)
    .appendPattern(" yyyy").toFormatter();
  System.out.println(LocalDate.now().format(dtf)); // CE 2015
  </code></pre>
  
  <p>Is there any better or shorter way?</p>