笔记本

2009年2月26日

SimpleDateFormat & parse

SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
  try{
           System.out.println(format1.format(format1.parse("20090801"))); 
  }catch(Exception e){
 }
上面运行结果是20090801

SimpleDateFormat format1 = new SimpleDateFormat("yyyyMMdd");
  try{
           System.out.println(format1.format(format1.parse("2009-08-01"))); 
  }catch(Exception e){
 }
上面运行两次以上的结果是20081208

posted @ 2009-02-26 20:44 Robben仔 阅读(527) | 评论 (0)编辑 收藏

2009年2月11日

JSP中与路径相关的常用的几个方法 转

     摘要:   阅读全文

posted @ 2009-02-11 11:58 Robben仔 阅读(556) | 评论 (0)编辑 收藏

2008年10月10日

oracle sql 语句

     摘要: oracle sql 语句。。。。。。。。。  阅读全文

posted @ 2008-10-10 10:49 Robben仔 阅读(142) | 评论 (0)编辑 收藏

2008年8月22日

JSP:以excel或者word形式下载页面的内容

     摘要: 将网页资料以excel报表或者word形式下载
  阅读全文

posted @ 2008-08-22 14:53 Robben仔 阅读(252) | 评论 (0)编辑 收藏

java.util.Date 转换为 java.sql.Date

     摘要: java.util.Date 转换为 java.sql.Date  阅读全文

posted @ 2008-08-22 14:40 Robben仔 阅读(416) | 评论 (0)编辑 收藏

[转]Eclipse中的快捷键

     摘要: [转]Eclipse中的快捷键   阅读全文

posted @ 2008-08-22 11:10 Robben仔 阅读(229) | 评论 (0)编辑 收藏

2008年8月16日

StringTokenizer、Split的使用和区别

     摘要: StringTokenizer类的主要用途是将字符串以定界符为界........  阅读全文

posted @ 2008-08-16 15:14 Robben仔 阅读(1910) | 评论 (0)编辑 收藏

2008年8月15日

java中substring()的应用

     摘要: 语法: string.substring(start, end) .....

  阅读全文

posted @ 2008-08-15 16:44 Robben仔 阅读(1073) | 评论 (0)编辑 收藏

仅列出标题  
<2024年3月>
252627282912
3456789
10111213141516
17181920212223
24252627282930
31123456

导航

统计

常用链接

留言簿(1)

随笔档案

ps

搜索

最新评论

阅读排行榜

评论排行榜