⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cstoprcrt.java

📁 这是用于数据移植的原码(SYBASE-->DB2)
💻 JAVA
字号:
package com.pansky.dcc.trans;

import com.sybase.jdbc2.tds.SybTimestamp;

/**
 * Created by IntelliJ IDEA.
 * User: fjf
 * Date: 2005-7-4
 * Time: 2:28:54
 * To change this template use File | Settings | File Templates.
 */
public class Cstoprcrt {
       public String time(SybTimestamp oldt) {
            String newsTime="";
            if(oldt !=null){
            String old=oldt.toString();
            newsTime= old.substring(0,4).concat(old.substring(5,7)).concat(old.substring(8,10)).concat(old.substring(11,13)).concat(old.substring(14,16)).concat(old.substring(17,19));
            }
           return newsTime;
          }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -