private long GetFirstMajor(long x) { long num = 0; if (x > 10000L) num = x % 864000000000L < this.firstSessionTick || x % 864000000000L > this.lastSessionTick ? this.GetFirstMajor(x + 864000000000L -Session) : x; return num; }