/src/main/java/net/finmath/time/FloatingpointDate.java
final Duration duration = Duration.between( referenceDate) ;
final Duration duration = Duration.between ( referenceDate, date ) ;
return null; } final Duration duration = Duration.ofSeconds(Math.round(floatingPointDate * SECONDS_PER_DAY)); return referenceDate.plus(duration); } public static double getFloatingPointDateFromDate(final LocalDateTime referenceDate, final LocalDateTime date) { <extra_id_0> return ((double)duration.getSeconds()) / SECONDS_PER_DAY; } public static LocalDate getDateFromFloatingPointDate(final LocalDate referenceDate, final double floatingPointDate) { if(referenceDate == null) { return null; }