Convertoracle.jbo.domain.DatetoString-成都快上网建站

Convertoracle.jbo.domain.DatetoString

public String convertJbodateToString(oracle.jbo.domain.Date domainDate){
        
        SimpleDateFormat formatter = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss.S" ); 
        Date date = null ;
        
        try {
            date = formatter.parse(domainDate.toString().substring( 0 , 21 ));
        } catch (ParseException e) {
        }
        
                
        SimpleDateFormat FORMATTER = new SimpleDateFormat( "MM/dd/yyyy HH:mm:ss" );
        System.out.println( "NewDate-->" + FORMATTER.format(date));
        
        return FORMATTER.format(date);
    }

文章标题:Convertoracle.jbo.domain.DatetoString
标题链接:http://kswjz.com/article/ppgsse.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流