现在的位置: 首页 > 综合 > 正文

CST GTM NULL 工作记录

2013年08月19日 ⁄ 综合 ⁄ 共 283字 ⁄ 字号 评论关闭

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,判断“”;都必须的。

抱歉!评论已关闭.