static int toCompactTimestamp(long time) { if (time == 0) ret 0; time -= 1514262010451L; assertTrue("compact timestamps can't be in the past", time > 0); ret toInt(time/100); }