MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / isChristmas

Method isChristmas

src/main/java/net/optifine/CustomGuis.java:332–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 }
331
332 private static boolean isChristmas()
333 {
334 Calendar calendar = Calendar.getInstance();
335 return calendar.get(2) + 1 == 12 && calendar.get(5) >= 24 && calendar.get(5) <= 26;
336 }
337
338 private static void warn(String str)
339 {

Callers 1

CustomGuisClass · 0.95

Calls 2

getMethod · 0.65
getInstanceMethod · 0.45

Tested by

no test coverage detected