package psdi.app.iface.oa;

import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class DEMO {
    public static void main (String[] args) throws Exception {
//        new OA2EamHandler().OA_EAM_WORKFLOW_IDLE2(null);
//        System.out.println("--Compl-2--");
//        String key_code="GN11_JW";
//        String str1 = key_code.substring(key_code.indexOf("_")+1,key_code.length());
//        System.out.println("-str1- "+str1);

        SimpleDateFormat sf= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String n=sf.format(new Date());
        System.out.println("n: "+n);
        DecimalFormat df1 = new DecimalFormat("000");
        System.out.println("--df1--"+df1.format(1198));

    }
}
