Class Timestamp

  • public class Timestamp
    extends scala.AnyVal

    Helper for dealing with points in time rather than durations. We mark it private[http] because we don't want to support it as public API.

    • Constructor Detail

      • Timestamp

        public Timestamp​(long timestampNanos)
    • Method Detail

      • timestampNanos

        public long timestampNanos()
      • isPast

        public boolean isPast()
      • isPast

        public boolean isPast​(Timestamp now)
      • isFuture

        public boolean isFuture()
      • isFinite

        public boolean isFinite()
      • isNever

        public boolean isNever()