MCPcopy Index your code
hub / github.com/BombusMod/BombusMod / setOffset

Method setOffset

src/main/java/ui/Time.java:51–54  ·  view source on GitHub ↗
(int tzOffset)

Source from the content-addressed store, hash-verified

49 private Time() { }
50
51 public static void setOffset(int tzOffset){
52 utcToLocalOffsetMillis=((long)tzOffset)*60*60*1000;
53 tzo=tzOffset;
54 }
55
56 public static String lz2(int i){
57 if (i<10) return "0"+i; else return String.valueOf(i);

Callers 1

updateTimeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected