LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.datetime.CSecondsBetween Class Reference

returns the seconds between two dates. More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.datetime.CSecondsBetween:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.datetime.CSecondsBetween:

Protected Member Functions

final Stream<?> apply ( @Nonnull final Stream< List< Instant >> p_datetime)
 
- Protected Member Functions inherited from org.lightjason.agentspeak.action.builtin.datetime.IBetween
 IBetween ()
 ctor More...
 
abstract Stream<?> apply ( @Nonnull final Stream< List< Instant >> p_datetime)
 calculating method 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 = -3287313602403467271L
 serial id More...
 

Additional Inherited Members

- Public Member Functions inherited from org.lightjason.agentspeak.action.builtin.datetime.IBetween
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...
 

Detailed Description

The actions returns the number of seconds between two date-time objects, the action never fails. A positive value will be returned iif the first date-time item is before the second one, a negative value will be returned iif the first date-time item is after the second date-time item

[S1|S2] = datetime/secondsbetween( DateTime1, DateTime2, DateTime3, DateTime4 );

Definition at line 46 of file CSecondsBetween.java.

Member Function Documentation

◆ apply()

final Stream<?> org.lightjason.agentspeak.action.builtin.datetime.CSecondsBetween.apply ( @Nonnull final Stream< List< Instant >>  p_datetime)
protected

Definition at line 55 of file CSecondsBetween.java.

Member Data Documentation

◆ serialVersionUID

final long org.lightjason.agentspeak.action.builtin.datetime.CSecondsBetween.serialVersionUID = -3287313602403467271L
staticprivate

Definition at line 51 of file CSecondsBetween.java.