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

Method getTime

src/main/java/Client/Msg.java:94–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 //public void onSelect(){}
93
94 public String getTime(){
95 if (Time.utcTimeMillis() - dateGmt > (24*60*60*1000L)) return getDayTime();
96 return Time.timeLocalString(dateGmt);
97 }
98 public String getDayTime(){
99 return Time.dayLocalString(dateGmt)+Time.timeLocalString(dateGmt);
100 }

Callers 9

toStringMethod · 0.95
scheduleMethod · 0.80
scheduleAtFixedRateMethod · 0.80
scheduleMethod · 0.80
scheduleAtFixedRateMethod · 0.80
getTipStringMethod · 0.80
dateIso8601Method · 0.80
dateStringToLongMethod · 0.80
addMessageMethod · 0.80

Calls 3

utcTimeMillisMethod · 0.95
getDayTimeMethod · 0.95
timeLocalStringMethod · 0.95

Tested by

no test coverage detected