Class Epoch

    • Constructor Detail

      • Epoch

        public Epoch​(long value)
        Creates a new epoch timestamp.
        Parameters:
        value - the epoch value
    • Method Detail

      • of

        public static Epoch of​(long value)
        Returns a new logical timestamp for the given logical time.
        Parameters:
        value - the logical time for which to create a new logical timestamp
        Returns:
        the logical timestamp