Searched refs:TICKS_UPPER_BOUND (Results 1 – 1 of 1) sorted by relevance
46 private static final int TICKS_UPPER_BOUND = 0x8000; field in OperationalDatasetTimestamp69 long seconds = instant.getEpochSecond() + ticks / TICKS_UPPER_BOUND; in fromInstant()71 ticks = ticks % TICKS_UPPER_BOUND; in fromInstant()85 long nanos = Math.round((double) mTicks * 1000000000L / TICKS_UPPER_BOUND); in toInstant()162 return (int) Math.round((double) nanos * TICKS_UPPER_BOUND / 1000000000L); in getRoundedTicks()