Class StartingEpochMillis
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_time_types.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 longapplyAsLong(long value)
-
Constructor Details
-
StartingEpochMillis
public StartingEpochMillis(java.lang.String baseTimeSpec)
-
-
Method Details
-
applyAsLong
public long applyAsLong(long value)- Specified by:
applyAsLongin interfacejava.util.function.LongUnaryOperator
-