24 package org.lightjason.agentspeak.action.builtin.datetime;
26 import org.joda.time.Days;
27 import org.joda.time.Instant;
29 import javax.annotation.Nonnull;
30 import java.util.List;
31 import java.util.stream.Stream;
55 protected final Stream<?>
apply( @Nonnull
final Stream<List<Instant>> p_datetime )
58 .map( i -> Days.daysBetween( i.get( 0 ), i.get( 1 ) ) )
59 .mapToDouble( Days::getDays )
final Stream<?> apply( @Nonnull final Stream< List< Instant >> p_datetime)
abstract class to calculate difference between date-time elements
static final long serialVersionUID
serial id
returns the days between two dates.