MCPcopy Create free account
hub / github.com/MenoData/Time4J / refresh

Method refresh

base/src/main/java/net/time4j/tz/Timezone.java:1823–1837  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1821 * Standard-Zeitzone neu ermittelt. </p>
1822 */
1823 public static void refresh() {
1824
1825 synchronized (Timezone.class) {
1826 while (QUEUE.poll() != null) {}
1827 LAST_USED.clear();
1828 }
1829
1830 zonalKeys = new ZonalKeys();
1831 CACHE.clear();
1832
1833 if (ALLOW_SYSTEM_TZ_OVERRIDE) {
1834 currentSystemTZ = Timezone.getDefaultTZ();
1835 }
1836
1837 }
1838
1839 /**
1840 * <p>Aktivates or deactivates the internal cache. </p>

Callers 1

systemTZMethod · 0.80

Calls 1

getDefaultTZMethod · 0.95

Tested by 1

systemTZMethod · 0.64