`
文章列表
package com.lolaage.util; import java.sql.Timestamp; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; /** * * @author huangye 2011-06-27 计算与日期和时间相关的算法类 */ public class CalendarUtil { /* 用于计算日期相关 */ private Calendar c = null ...

timer

//第一步 public static void main(String[] args) { // PropertyConfigurator.configure("log4j.properties");   BaseTimer timer = new ReSendTimer();   timer.startTimer(); } //第二步(赋值具体要执行任务的类) /** * */ package com.lolaage.cisvr.timer; import com.lolaage.cisvr.sysconst.CiSvrConst; /** * @au ...

Quartz

//第一步 public static void main(String args[]) {        SchedulerManage.start();//启动定时器 } //第二步 package com.lolaage.quartz; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Element; impo ...
package com.lolaage.cisvr.sysconf; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.util.Iterator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.dom4j.Document; import org.dom4j.DocumentException; import org.dom4j.Ele ...
Global site tag (gtag.js) - Google Analytics