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

Method isNonIsoOffset

base/src/main/java/net/time4j/Moment.java:2582–2594  ·  view source on GitHub ↗
(
            Timezone timezone,
            Moment context
        )

Source from the content-addressed store, hash-verified

2580 }
2581
2582 private static boolean isNonIsoOffset(
2583 Timezone timezone,
2584 Moment context
2585 ) {
2586
2587 ZonalOffset offset = timezone.getOffset(context);
2588
2589 return (
2590 (offset.getFractionalAmount() != 0)
2591 || ((offset.getAbsoluteSeconds() % 60) != 0)
2592 );
2593
2594 }
2595
2596 }
2597

Callers 1

applyMethod · 0.95

Calls 3

getFractionalAmountMethod · 0.95
getAbsoluteSecondsMethod · 0.95
getOffsetMethod · 0.65

Tested by

no test coverage detected