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

Method utcTime

src/main/java/ui/Time.java:110–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108 }
109
110 public static String utcTime() {
111 long date=utcTimeMillis();
112 c.setTime(new Date(date));
113 return String.valueOf(c.get(Calendar.YEAR)) +
114 '-' + lz2(c.get(Calendar.MONTH)+1) +
115 '-' + lz2(c.get(Calendar.DAY_OF_MONTH)) +
116 'T' + lz2(c.get(Calendar.HOUR_OF_DAY))+':'+lz2(c.get(Calendar.MINUTE))+':'+lz2(c.get(Calendar.SECOND)) +
117 'Z';
118 }
119
120 public static String tzOffset(){
121 StringBuffer tz=new StringBuffer();

Callers 3

processStatusRequestMethod · 0.95
processGCRequestMethod · 0.95
blockArrivedMethod · 0.80

Calls 2

utcTimeMillisMethod · 0.95
lz2Method · 0.95

Tested by

no test coverage detected