public int estimatePrintedLength() { return underlying.estimatePrintedLength(); }
public void printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) { try { underlying.printTo(buf, instant, chrono, displayOffset, displayZone, locale); } catch (IOException ex) { // StringBuffer does not throw IOException } }
public void printTo(StringBuffer buf, ReadablePartial partial, Locale locale) { try { underlying.printTo(buf, partial, locale); } catch (IOException ex) { // StringBuffer does not throw IOException } }
public int estimatePrintedLength() { return underlying.estimatePrintedLength(); }
public void printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException { underlying.printTo(out, instant, chrono, displayOffset, displayZone, locale); }
/** * Prints a ReadableInstant to a String. * <p> * This method will use the override zone and the override chronology if * they are set. Otherwise it will use the chronology and zone of the instant. * * @param instant instant to format, null means now * @return the printed result */ public String print(ReadableInstant instant) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, instant); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException { underlying.printTo(appendable, instant, chrono, displayOffset, displayZone, locale); }
/** * Prints a millisecond instant to a String. * <p> * This method will use the override zone and the override chronology if * they are set. Otherwise it will use the ISO chronology and default zone. * * @param instant millis since 1970-01-01T00:00:00Z * @return the printed result */ public String print(long instant) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, instant); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(StringBuffer buf, ReadablePartial partial, Locale locale) { try { underlying.printTo(buf, partial, locale); } catch (IOException ex) { // StringBuffer does not throw IOException } }
/** * Prints a ReadablePartial to a new String. * <p> * Neither the override chronology nor the override zone are used * by this method. * * @param partial partial to format * @return the printed result */ public String print(ReadablePartial partial) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, partial); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) { try { underlying.printTo(buf, instant, chrono, displayOffset, displayZone, locale); } catch (IOException ex) { // StringBuffer does not throw IOException } }
/** * Prints a ReadableInstant to a String. * <p> * This method will use the override zone and the override chronology if * they are set. Otherwise it will use the chronology and zone of the instant. * * @param instant instant to format, null means now * @return the printed result */ public String print(ReadableInstant instant) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, instant); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(Appendable appendable, ReadablePartial partial, Locale locale) throws IOException { underlying.printTo(appendable, partial, locale); }
/** * Prints a millisecond instant to a String. * <p> * This method will use the override zone and the override chronology if * they are set. Otherwise it will use the ISO chronology and default zone. * * @param instant millis since 1970-01-01T00:00:00Z * @return the printed result */ public String print(long instant) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, instant); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(Writer out, ReadablePartial partial, Locale locale) throws IOException { underlying.printTo(out, partial, locale); }
/** * Prints a ReadablePartial to a new String. * <p> * Neither the override chronology nor the override zone are used * by this method. * * @param partial partial to format * @return the printed result */ public String print(ReadablePartial partial) { StringBuilder buf = new StringBuilder(requirePrinter().estimatePrintedLength()); try { printTo((Appendable) buf, partial); } catch (IOException ex) { // StringBuilder does not throw IOException } return buf.toString(); }
public void printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException { underlying.printTo(out, instant, chrono, displayOffset, displayZone, locale); }
for (int i=0; i<size; i++) { InternalPrinter printer = (InternalPrinter) printerList.get(i); printEst += printer.estimatePrintedLength(); iPrinters[i] = printer;
public void printTo(Appendable appendable, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException { underlying.printTo(appendable, instant, chrono, displayOffset, displayZone, locale); }
for (int i=0; i<size; i++) { InternalPrinter printer = (InternalPrinter) printerList.get(i); printEst += printer.estimatePrintedLength(); iPrinters[i] = printer;