Package akka.http.impl.util
Class Timestamp
- java.lang.Object
-
- scala.AnyVal
-
- akka.http.impl.util.Timestamp
-
public class Timestamp extends scala.AnyValINTERNAL APIHelper 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTimestamp.Ordering$
-
Constructor Summary
Constructors Constructor Description Timestamp(long timestampNanos)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisFinite()booleanisFuture()booleanisNever()booleanisPast()booleanisPast(Timestamp now)static Timestampnever()static Timestampnow()longtimestampNanos()
-
-
-
Method Detail
-
now
public static Timestamp now()
-
never
public static Timestamp never()
-
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()
-
-