24 package org.lightjason.agentspeak.action.builtin.datetime;
26 import org.joda.time.Instant;
27 import org.joda.time.Minutes;
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 -> Minutes.minutesBetween( i.get( 0 ), i.get( 1 ) ) )
59 .mapToDouble( Minutes::getMinutes )
final Stream<?> apply( @Nonnull final Stream< List< Instant >> p_datetime)
static final long serialVersionUID
serial id
abstract class to calculate difference between date-time elements
returns the minutes between two dates.