@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.DEFAULT_ALLOW_NULL_VALUESm_aRWLock, NO_MAX_SIZE, STATISTICS_PREFIX| Constructor and Description |
|---|
LocalizedDateFormatCache() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSourcePattern(PDTFormatter.CacheKey aKey) |
clearCache, createCache, getCacheKeyProvider, getFromCache, getFromCacheNoStats, getFromCacheNoStatsNotLocked, getMaxSize, getName, getValueProvider, hasMaxSize, isAllowNullValues, isEmpty, isInCache, 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–2022 Philip Helger. All rights reserved.