private static class TimestampKind.LegacyAndFractionFormatter extends TimestampKind.LegacyFormatter
Modifier and Type | Field and Description |
---|---|
private LinearUnit |
fractionUnit |
private int |
numDigits |
dfHolder
Constructor and Description |
---|
LegacyAndFractionFormatter(FormatThreadLocal<java.text.DateFormat> dfHolder,
IUnit resolutionUnit) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(IQuantity q) |
dateFor
private final LinearUnit fractionUnit
private final int numDigits
public LegacyAndFractionFormatter(FormatThreadLocal<java.text.DateFormat> dfHolder, IUnit resolutionUnit)
public java.lang.String format(IQuantity q)
format
in interface IFormatter<IQuantity>
format
in class TimestampKind.LegacyFormatter