| org.joda.time.format.DateTimePrinter
Method Summary | |
int | estimatePrintedLength() Returns the expected maximum number of characters produced. | void | printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology. | void | printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology. | void | printTo(StringBuffer buf, ReadablePartial partial, Locale locale) Prints a ReadablePartial. | void | printTo(Writer out, ReadablePartial partial, Locale locale) Prints a ReadablePartial. |
estimatePrintedLength | int estimatePrintedLength()(Code) | | Returns the expected maximum number of characters produced.
The actual amount should rarely exceed this estimate.
the estimated length |
printTo | void printTo(StringBuffer buf, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale)(Code) | | Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology.
Parameters: buf - formatted instant is appended to this buffer, not null Parameters: instant - millis since 1970-01-01T00:00:00Z Parameters: chrono - the chronology to use, not null Parameters: displayOffset - if a time zone offset is printed, force it to usethis millisecond value Parameters: displayZone - the time zone to use, null means local time Parameters: locale - the locale to use, null means default locale |
printTo | void printTo(Writer out, long instant, Chronology chrono, int displayOffset, DateTimeZone displayZone, Locale locale) throws IOException(Code) | | Prints an instant from milliseconds since 1970-01-01T00:00:00Z,
using the given Chronology.
Parameters: out - formatted instant is written out Parameters: instant - millis since 1970-01-01T00:00:00Z Parameters: chrono - the chronology to use, not null Parameters: displayOffset - if a time zone offset is printed, force it to usethis millisecond value Parameters: displayZone - the time zone to use, null means local time Parameters: locale - the locale to use, null means default locale |
printTo | void printTo(StringBuffer buf, ReadablePartial partial, Locale locale)(Code) | | Prints a ReadablePartial.
Parameters: buf - formatted partial is appended to this buffer, not null Parameters: partial - partial to format, not null Parameters: locale - the locale to use, null means default locale |
printTo | void printTo(Writer out, ReadablePartial partial, Locale locale) throws IOException(Code) | | Prints a ReadablePartial.
Parameters: out - formatted partial is written out, not null Parameters: partial - partial to format, not null Parameters: locale - the locale to use, null means default locale |
|
|