Package org.apache.pekko.http.impl.util
Class Timestamp
java.lang.Object
scala.AnyVal
org.apache.pekko.http.impl.util.Timestamp
public class Timestamp
extends scala.AnyVal
INTERNAL API
 
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.
- 
Nested Class SummaryNested Classes
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
Timestamppublic Timestamp(long timestampNanos) 
 
- 
- 
Method Details- 
now
- 
never
- 
timestampNanospublic long timestampNanos()
- 
isPastpublic boolean isPast()
- 
isPast
- 
isFuturepublic boolean isFuture()
- 
isFinitepublic boolean isFinite()
- 
isNeverpublic boolean isNever()
 
-