Class TimeEndStage<N extends cern.nxcals.api.extraction.data.builders.fluent.Stage<?,​T>,​T>


  • public class TimeEndStage<N extends cern.nxcals.api.extraction.data.builders.fluent.Stage<?,​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)
        Parameters:
        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)
        Parameters:
        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)
        Parameters:
        nanos - duration time in nanoseconds
      • duration

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