@Override public List<Era> eras() { return Arrays.<Era>asList(IsoEra.values()); }
/** * Gets the list of eras for the chronology. * <p> * The list of eras is shared with {@link IsoEra}. * * @return the list of eras for the chronology, may be immutable, not null */ @Override public List<Era> eras() { return Arrays.<Era>asList(IsoEra.values()); }
/** * Gets the list of eras for the chronology. * <p> * The list of eras is shared with {@link IsoEra}. * * @return the list of eras for the chronology, may be immutable, not null */ @Override public List<Era> eras() { return Arrays.<Era>asList(IsoEra.values()); }
@Override public String[] eras( String calendarType, Locale locale, TextWidth textWidth ) { TextStyle style = getStyle(textWidth, OutputContext.FORMAT); String[] eras = new String[2]; int i = 0; for (IsoEra era : IsoEra.values()) { eras[i] = era.getDisplayName(style, locale); i++; } return eras; }