public class ClockBDI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.text.SimpleDateFormat |
formatter
The date formatter.
|
protected long |
time
The time.
|
Constructor and Description |
---|
ClockBDI() |
Modifier and Type | Method and Description |
---|---|
void |
body()
The agent body.
|
long |
getTime()
Get the time.
|
protected void |
printTime()
Plan that prints the time.
|
void |
setTime(long time)
Set the time.
|