c55363d43f
* improve the formatting for precise ms in DateCache * return original format string with DateCache.getFormatString * calculate index in tick constructor because format strings can be different size * use two ticks so that switching between seconds is less likely going to have cache miss * use boolean instead of index to denote if sub second is needed * remove formatWithoutCache and replace with doFormat as it doesn't work with sub second time * allow the option of not having sub second precision * use two separate formatters for the prefix/suffix around the SSS format code * use a simple class to store both ticks in DateCache * rename DateCache.Tick.getString(long) to format() Signed-off-by: Lachlan Roberts <lachlan@webtide.com> |
||
---|---|---|
.. | ||
src | ||
pom.xml |