Class InstantInterval


  • public class InstantInterval
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      InstantInterval​(java.time.Instant start)  
      InstantInterval​(java.time.Instant start, java.time.Instant end)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.time.Instant getEnd()  
      java.time.Instant getStart()  
      java.util.List<InstantInterval> partition​(long temporalDuration, java.time.temporal.TemporalUnit temporalUnit)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InstantInterval

        public InstantInterval​(java.time.Instant start)
      • InstantInterval

        public InstantInterval​(java.time.Instant start,
                               java.time.Instant end)
    • Method Detail

      • getStart

        public java.time.Instant getStart()
      • getEnd

        public java.time.Instant getEnd()
      • partition

        public java.util.List<InstantInterval> partition​(long temporalDuration,
                                                         java.time.temporal.TemporalUnit temporalUnit)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object