1,CST GTM 转换
Date d = new Date("Tue Sep 20 11:23:35 CST 2011");
SimpleDateFormat format1 = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss");
format1.setTimeZone(TimeZone.getTimeZone( "GMT+8:00"));
System.out.println(format1.format(d));
!:mysql不保存char CST 时间;
2,NULL ,“”
Object 判断NULL,判断“”;都必须的。