import lrapi.lr;
import java.util.Date;
public class Actions
{
private Date date = null;
public int init() throws Throwable {
return 0;
}//end of init
public int action() throws Throwable {
long time1 = System.currentTimeMillis();
System.out.println("Time1:" + time1);
long sendTime;
date = new Date();
sendTime = date.getTime();
System.out.println("Time2:" + sendTime);
return 0;
}//end of action
public int end() throws Throwable {
return 0;
}//end of end
}
No comments:
Post a Comment