| Constructor and Description |
|---|
Joda.EpochTimePrinter(boolean hasMilliSecondPrecision) |
| Modifier and Type | Method and Description |
|---|---|
int |
estimatePrintedLength() |
void |
printTo(StringBuffer buf,
long instant,
org.joda.time.Chronology chrono,
int displayOffset,
org.joda.time.DateTimeZone displayZone,
Locale locale)
We adjust the instant by displayOffset to adjust for the offset that might have been added in
DateTimeFormatter.printTo(Appendable, long, Chronology) when using a time zone. |
void |
printTo(StringBuffer buf,
org.joda.time.ReadablePartial partial,
Locale locale) |
void |
printTo(Writer out,
long instant,
org.joda.time.Chronology chrono,
int displayOffset,
org.joda.time.DateTimeZone displayZone,
Locale locale)
We adjust the instant by displayOffset to adjust for the offset that might have been added in
DateTimeFormatter.printTo(Appendable, long, Chronology) when using a time zone. |
void |
printTo(Writer out,
org.joda.time.ReadablePartial partial,
Locale locale) |
public Joda.EpochTimePrinter(boolean hasMilliSecondPrecision)
public int estimatePrintedLength()
estimatePrintedLength in interface org.joda.time.format.DateTimePrinterpublic void printTo(StringBuffer buf, long instant, org.joda.time.Chronology chrono, int displayOffset, org.joda.time.DateTimeZone displayZone, Locale locale)
DateTimeFormatter.printTo(Appendable, long, Chronology) when using a time zone.printTo in interface org.joda.time.format.DateTimePrinterpublic void printTo(Writer out, long instant, org.joda.time.Chronology chrono, int displayOffset, org.joda.time.DateTimeZone displayZone, Locale locale) throws IOException
DateTimeFormatter.printTo(Appendable, long, Chronology) when using a time zone.printTo in interface org.joda.time.format.DateTimePrinterIOExceptionpublic void printTo(StringBuffer buf, org.joda.time.ReadablePartial partial, Locale locale)
printTo in interface org.joda.time.format.DateTimePrinterpublic void printTo(Writer out, org.joda.time.ReadablePartial partial, Locale locale) throws IOException
printTo in interface org.joda.time.format.DateTimePrinterIOExceptionCopyright © 2009–2017. All rights reserved.