gnu.prolog.vm.buildins.datetime
Class Predicate_stamp_date_time
java.lang.Object
gnu.prolog.vm.ExecuteOnlyCode
gnu.prolog.vm.buildins.datetime.DateTimePrologCode
gnu.prolog.vm.buildins.datetime.Predicate_stamp_date_time
- All Implemented Interfaces:
- Installable, PrologCode
public class Predicate_stamp_date_time
- extends DateTimePrologCode
- Author:
- Michiel Hendriks
Method Summary |
int |
execute(Interpreter interpreter,
boolean backtrackMode,
Term[] args)
this method is used for execution of code |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Predicate_stamp_date_time
public Predicate_stamp_date_time()
execute
public int execute(Interpreter interpreter,
boolean backtrackMode,
Term[] args)
throws PrologException
- Description copied from interface:
PrologCode
- this method is used for execution of code
- Specified by:
execute
in interface PrologCode
- Specified by:
execute
in class ExecuteOnlyCode
- Parameters:
interpreter
- interpreter in which context code is executedbacktrackMode
- true if predicate is called on backtracking and false otherwiseargs
- arguments of code
- Returns:
- either SUCCESS, SUCCESS_LAST, or FAIL.
- Throws:
PrologException