jason.stdlib
Class date

Package class diagram package date
java.lang.Object
  extended by jason.asSemantics.DefaultInternalAction
      extended by jason.stdlib.date
All Implemented Interfaces:
InternalAction, java.io.Serializable

public class date
extends DefaultInternalAction

Internal action: .date(YY,MM,DD).

Description: gets the current date (year, month, and day of the month).

Parameters:

Examples:

See Also:
time, Serialized Form

Constructor Summary
date()
           
 
Method Summary
static InternalAction create()
           
 java.lang.Object execute(TransitionSystem ts, Unifier un, Term[] args)
          date(YY,MM,DD)
 int getMaxArgs()
           
 int getMinArgs()
           
 
Methods inherited from class jason.asSemantics.DefaultInternalAction
canBeUsedInContext, checkArguments, prepareArguments, suspendIntention
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

date

public date()
Method Detail

create

public static InternalAction create()

getMinArgs

public int getMinArgs()
Overrides:
getMinArgs in class DefaultInternalAction

getMaxArgs

public int getMaxArgs()
Overrides:
getMaxArgs in class DefaultInternalAction

execute

public java.lang.Object execute(TransitionSystem ts,
                                Unifier un,
                                Term[] args)
                         throws java.lang.Exception
date(YY,MM,DD)

Specified by:
execute in interface InternalAction
Overrides:
execute in class DefaultInternalAction
Throws:
java.lang.Exception