LightJason - AgentSpeak(L++)
|
subtract or adds a number of years. More...
Protected Member Functions | |
final Stream<?> | applyminus ( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value) |
final Stream<?> | applyplus ( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value) |
Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.datetime.IPlusMinus | |
IPlusMinus () | |
ctor More... | |
abstract Stream<?> | applyminus ( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value) |
apply function for plus operator More... | |
abstract Stream<?> | applyplus ( @Nonnull final Stream< ZonedDateTime > p_datetime, final long p_value) |
apply function for minus operator More... | |
Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction | |
IBuiltinAction () | |
ctor More... | |
IBuiltinAction (final int p_length) | |
ctor More... | |
Static Private Attributes | |
static final long | serialVersionUID = 2790401351550884571L |
serial id More... | |
Additional Inherited Members | |
Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.datetime.IPlusMinus | |
final IFuzzyValue< Boolean > | execute (final boolean p_parallel, @Nonnull final IContext p_context, @Nonnull final List< ITerm > p_argument, @Nonnull final List< ITerm > p_return) |
defines a plan-body operation More... | |
final int | minimalArgumentNumber () |
minimum number of arguments More... | |
Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction | |
final IPath | name () |
returns the name with path of the action More... | |
Public Member Functions inherited from org.lightjason.agentspeak.action.IBaseAction | |
final boolean | equals (final Object p_object) |
final int | hashCode () |
final String | toString () |
Public Member Functions inherited from org.lightjason.agentspeak.action.IAction | |
default Stream< IVariable<?> > | variables () |
returns a stream with all used variables More... | |
Public Attributes inherited from org.lightjason.agentspeak.action.IAction | |
long | serialVersionUID = -6374480398439703170L |
serial id More... | |
Static Protected Attributes inherited from org.lightjason.agentspeak.action.builtin.IBuiltinAction | |
static final Logger | LOGGER = CCommon.logger( IBuiltinAction.class ) |
logger More... | |
Static Protected Attributes inherited from org.lightjason.agentspeak.action.IBaseAction | |
static final Logger | LOGGER = org.lightjason.agentspeak.common.CCommon.logger( IAction.class ) |
logger More... | |
The action adds / subtracts a number of years to the date-time objects, the first argument is a string with minus or plus, the second argument the number and all other arguments are date-time objects, the action returns the modified date-time objects, the action never fails
Definition at line 44 of file CApplyYears.java.
|
protected |
Definition at line 53 of file CApplyYears.java.
|
protected |
Definition at line 60 of file CApplyYears.java.
|
staticprivate |
Definition at line 49 of file CApplyYears.java.