Class TimeEndStage<N extends<?,​T>,​T>

  • public class TimeEndStage<N extends<?,​T>,​T>
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      N duration​(long nanos)  
      N duration​(long amount, @NonNull java.time.temporal.TemporalUnit unit)  
      N duration​(@NonNull java.time.Duration duration)  
      N endTime​(long nanos)  
      N endTime​(@NonNull java.lang.String endTimeUtc)  
      N endTime​(@NonNull java.time.Instant endTime)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • endTime

        public N endTime​(@NonNull
                         @NonNull java.time.Instant endTime)
      • endTime

        public N endTime​(long nanos)
        nanos - end time in nanoseconds elapsed since 1970-01-01 00:00:00 in the UTC timezone
      • endTime

        public N endTime​(@NonNull
                         @NonNull java.lang.String endTimeUtc)
        endTimeUtc - end time in UTC timezone as string using "yyyy-MM-dd HH:mm:ss.n" format
      • duration

        public N duration​(@NonNull
                          @NonNull java.time.Duration duration)
      • duration

        public N duration​(long nanos)
        nanos - duration time in nanoseconds
      • duration

        public N duration​(long amount,
                          @NonNull java.time.temporal.TemporalUnit unit)