Class EpochMillisToJavaLocalDateTime
java.lang.Object
io.nosqlbench.datamappers.functions.long_localdate.EpochMillisToJavaLocalDateTime
- All Implemented Interfaces:
LongFunction<LocalDateTime>
Converts epoch millis to a
java.time.
LocalDateTime object, using either the system
default timezone or the timezone provided. If the specified ZoneId is not
the same as the time base of the epoch millis instant, then conversion
errors will occur.
Short form ZoneId values like 'CST' can be used, although US Domestic names
which specify the daylight savings hours are not supported. The full list of
short Ids at @see JavaSE ZoneId Ids
Any timezone specifier may be used which can be read by ZoneId.of(String)-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EpochMillisToJavaLocalDateTime
public EpochMillisToJavaLocalDateTime() -
EpochMillisToJavaLocalDateTime
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<LocalDateTime>
-