• 大小: 13KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-01-09
  • 语言: Java
  • 标签:

资源简介

此图书管理系统是源码用java编写的系统,主要实现对图书的增加,修改,查询,删除,列表.其中查询可以根据需要像id号和模糊查询

资源截图

代码片段和文件信息

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.Locale;

public class Test {

/**
 * @param args
 */
public static void main(String[] args) {
Date date = new Date();
String now = date.toString();
System.out.println(now);

String format = “yyyy-MM-dd hh:mm:ss a“;  //12小时制
SimpleDateFormat sdf = new SimpleDateFormat(format);
String strDate = sdf.format(date);
System.out.println(strDate);

SimpleDateFormat sdf1 = new SimpleDateFormat(format Locale.US);
String strDate1 = sdf1.format(date);
System.out.println(strDate1);

String format2 = “yyyy-MM-dd HH:mm:ss“;  //24小时制
SimpleDateFormat sdf2 = new SimpleDateFormat(format2);
String strDate2 = sdf2.format(date);
System.out.println(strD

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        574  2009-05-25 21:22  ManageMessage\ManageMessage\.classpath

     文件        312  2009-05-26 10:09  ManageMessage\ManageMessage\.mymetadata

     文件       1231  2009-05-25 21:47  ManageMessage\ManageMessage\.project

     文件       1343  2009-05-25 21:30  ManageMessage\ManageMessage\src\com\handson\javabean\BookBean.class

     文件       1167  2009-05-25 21:30  ManageMessage\ManageMessage\src\com\handson\javabean\MessageBean.class

     文件        831  2009-05-25 22:00  ManageMessage\ManageMessage\src\com\handson\javabean\MessageBean.java

     文件       1246  2009-05-25 21:30  ManageMessage\ManageMessage\src\com\handson\oper\ManageMes.class

     文件       2276  2009-05-25 22:49  ManageMessage\ManageMessage\src\com\handson\oper\ManageMess.java

     文件       1120  2009-05-25 21:30  ManageMessage\ManageMessage\src\com\handson\oper\Servlets.class

     文件       1097  2009-05-25 21:30  ManageMessage\ManageMessage\src\com\handson\oper\ViewMessageServlet.class

     文件       1749  2009-05-26 21:23  ManageMessage\ManageMessage\src\Test.java

     文件        856  2009-05-26 21:25  ManageMessage\ManageMessage\WebRoot\addMessage.jsp

     文件         39  2009-05-25 21:30  ManageMessage\ManageMessage\WebRoot\meta-INF\MANIFEST.MF

     文件        775  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\viewMessage.jsp

     文件       1320  2009-05-26 21:23  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com\handson\javabean\MessageBean.class

     文件       3256  2009-05-26 21:23  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com\handson\oper\ManageMess.class

     文件       1443  2009-05-26 21:23  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\Test.class

     文件       1242  2009-05-26 09:02  ManageMessage\ManageMessage\WebRoot\WEB-INF\web.xml

     文件        958  2009-05-25 22:20  ManageMessage\ManageMessage\WebRoot\writeMessage.jsp

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com\handson\javabean

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com\handson\oper

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com\handson

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\src\com\handson\javabean

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\src\com\handson\oper

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes\com

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\src\com\handson

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\WEB-INF\classes

     目录          0  2009-10-21 20:01  ManageMessage\ManageMessage\WebRoot\WEB-INF\lib

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\src\com

     目录          0  2009-05-26 21:26  ManageMessage\ManageMessage\WebRoot\meta-INF

............此处省略10个文件信息

评论

共有 条评论

相关资源