MCPcopy Create free account
hub / github.com/SeanDragon/protools / getBitInt

Method getBitInt

common/src/main/java/pro/tools/time/ToolLunar.java:55–57  ·  view source on GitHub ↗
(int data, int length, int shift)

Source from the content-addressed store, hash-verified

53 0x107e48};
54
55 private static int getBitInt(int data, int length, int shift) {
56 return (data & (((1 << length) - 1) << shift)) >> shift;
57 }
58
59 /**
60 * 从1582年10月开始算

Callers 2

lunartosolarMethod · 0.95
solartolunarMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected