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

Method getTZ

base/src/main/java/net/time4j/tz/Timezone.java:1461–1473  ·  view source on GitHub ↗
(
        TZID tzid,
        boolean wantsException
    )

Source from the content-addressed store, hash-verified

1459 }
1460
1461 private static Timezone getTZ(
1462 TZID tzid,
1463 boolean wantsException
1464 ) {
1465
1466 // Liegt eine feste Verschiebung vor?
1467 if (tzid instanceof ZonalOffset) {
1468 return ((ZonalOffset) tzid).getModel();
1469 }
1470
1471 return Timezone.getTZ(tzid, tzid.canonical(), wantsException);
1472
1473 }
1474
1475 private static Timezone getTZ(
1476 TZID tzid, // optional

Callers 3

TimezoneClass · 0.95
ofMethod · 0.95
getDefaultTZMethod · 0.95

Calls 13

resolveMethod · 0.95
isGMTMethod · 0.95
loadMethod · 0.95
getZoneByAliasMethod · 0.95
canonicalMethod · 0.65
getMethod · 0.65
isEmptyMethod · 0.65
getModelMethod · 0.45
removeMethod · 0.45
lengthMethod · 0.45
equalsMethod · 0.45
getIDMethod · 0.45

Tested by

no test coverage detected