public static void main(String[] args) throws ParseException {
Ioc ioc = IocMaster.getInstance();
Tasks.scheduleAtFixedRate(ioc.get(Demo.class),
"2016-02-22 00:00:00", 5, TimeUnit.MINUTES);
}
public class Demo implements Runnable {
@Override
public void run() {
// 如何获取到定时器的首次执行时间
}
}
大神们,来一发啊