@ThreadSafe public static final class PDTFormatter.LocalizedDateFormatCache extends Cache<PDTFormatter.CacheKey,DateTimeFormatter>
DateTimeFormatter.ofLocalizedDate(java.time.format.FormatStyle) is
not an option because the used "year of era", corresponding to pattern "y"
makes problems. Instead "year" with the pattern "u" must be used for best
backwards compatibility.m_aRWLock, STATISTICS_PREFIX| Constructor and Description |
|---|
LocalizedDateFormatCache() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSourcePattern(PDTFormatter.CacheKey aKey) |
clearCache, createCache, getFromCache, getFromCacheNoStats, getFromCacheNoStatsNotLocked, getMaxSize, getName, hasMaxSize, isEmpty, isNotEmpty, putInCache, putInCacheNotLocked, removeFromCache, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComparatorCollating, getComparatorName@Nonnull public static String getSourcePattern(@Nonnull PDTFormatter.CacheKey aKey)
Copyright © 2014–2019 Philip Helger. All rights reserved.