Class EpochMillisToJavaLocalDate

java.lang.Object
io.nosqlbench.datamappers.functions.long_localdate.EpochMillisToJavaLocalDate
All Implemented Interfaces:
LongFunction<LocalDate>

public class EpochMillisToJavaLocalDate extends Object implements LongFunction<LocalDate>
Converts epoch millis to a java.time.LocalDate 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 Details

    • EpochMillisToJavaLocalDate

      public EpochMillisToJavaLocalDate()
    • EpochMillisToJavaLocalDate

      public EpochMillisToJavaLocalDate(String zoneid)
  • Method Details