static Clock() { //TODO com.hazelcast.clock.offset var clockOffset = "0"; //Runtime.GetProperty("com.hazelcast.clock.offset"); var offset = 0L; if (clockOffset != null) { try { offset = long.Parse(clockOffset); } catch (FormatException) { } } if (offset == 0L) { TheClock = new SystemClock(); } else { TheClock = new SystemOffsetClock(offset); } }
static Clock() { //TODO com.hazelcast.clock.offset var clockOffset = "0"; //Runtime.GetProperty("com.hazelcast.clock.offset"); var offset = 0L; if (clockOffset != null) { try { offset = long.Parse(clockOffset); } catch (FormatException) { } } if (offset == 0L) { TheClock = new SystemClock(); } else { TheClock = new SystemOffsetClock(offset); } }
static Clock() { Default = new ClockImpl(); }