Class StartingEpochMillis

  • All Implemented Interfaces:
    java.util.function.LongUnaryOperator

    public class StartingEpochMillis
    extends java.lang.Object
    implements java.util.function.LongUnaryOperator
    This function sets the minimum long value to the equivalent unix epoch time in milliseconds. It simply adds the input value to this base value as determined by the provided time specifier. It wraps any overflow within this range as well.
    • Constructor Summary

      Constructors 
      Constructor Description
      StartingEpochMillis​(java.lang.String baseTimeSpec)  
    • Method Summary

      Modifier and Type Method Description
      long applyAsLong​(long value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.LongUnaryOperator

        andThen, compose
    • Constructor Detail

      • StartingEpochMillis

        public StartingEpochMillis​(java.lang.String baseTimeSpec)
    • Method Detail

      • applyAsLong

        public long applyAsLong​(long value)
        Specified by:
        applyAsLong in interface java.util.function.LongUnaryOperator