| org.joda.time.format.PeriodPrinter
calculatePrintedLength | int calculatePrintedLength(ReadablePeriod period, Locale locale)(Code) | | Returns the exact number of characters produced for the given period.
Parameters: period - the period to use Parameters: locale - the locale to use the estimated length |
countFieldsToPrint | int countFieldsToPrint(ReadablePeriod period, int stopAt, Locale locale)(Code) | | Returns the amount of fields from the given period that this printer
will print.
Parameters: period - the period to use Parameters: stopAt - stop counting at this value, enter a number ≥ 256 to count all Parameters: locale - the locale to use amount of fields printed |
printTo | void printTo(StringBuffer buf, ReadablePeriod period, Locale locale)(Code) | | Prints a ReadablePeriod to a StringBuffer.
Parameters: buf - the formatted period is appended to this buffer Parameters: period - the period to format Parameters: locale - the locale to use |
printTo | void printTo(Writer out, ReadablePeriod period, Locale locale) throws IOException(Code) | | Prints a ReadablePeriod to a Writer.
Parameters: out - the formatted period is written out Parameters: period - the period to format Parameters: locale - the locale to use |
|
|