24 package org.lightjason.agentspeak.action.builtin.datetime;
27 import javax.annotation.Nonnull;
28 import java.time.ZonedDateTime;
29 import java.util.stream.Stream;
53 protected final Stream<?>
applyminus( @Nonnull
final Stream<ZonedDateTime> p_datetime,
final long p_value )
55 return p_datetime.map( i -> i.minusNanos( p_value ) );
60 protected final Stream<?>
applyplus( @Nonnull
final Stream<ZonedDateTime> p_datetime,
final long p_value )
62 return p_datetime.map( i -> i.plusNanos( p_value ) );
final Stream<?> applyminus( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value)
static final long serialVersionUID
serial id
abstract class to calculate plus / minus on date-time objects
subtract or adds a number of nano-seconds.
final Stream<?> applyplus( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value)