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.minusDays( p_value ) );
60 protected final Stream<?>
applyplus( @Nonnull
final Stream<ZonedDateTime> p_datetime,
final long p_value )
62 return p_datetime.map( i -> i.plusDays( p_value ) );
abstract class to calculate plus / minus on date-time objects
final Stream<?> applyplus( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value)
final Stream<?> applyminus( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value)
subtract or adds a number of days.
static final long serialVersionUID
serial id