引言:
JAVA学习笔记(2)
2003/05/02 xuyunsheng
一、JAVA中日期的获取、设置和格式化
1)JAVA提供了3个日期类:Date、Calendar和DateFormat。
摘要:
将变量放入session中去 例:session.putvalue("anchor",v_key); <%@ page contenttype="text/html;charset=gb2312" %>
<%@ page info="database handler"%>
<%@ page import="java.io.*"%>
<%@ page......
摘要:
公司:北京智林科技有限公司 职位1: 软件开发工程师 职位描述: 软件开发 招聘的类型: 全职 应聘的资格: 能够熟练应用struts框架进行程序开发,或精通jsp开发者。 招聘人数: 5 招聘期限: 2004-10-01职位工资: 面议 工作地: 北京/海淀区/上地信息路2号国际创业园联系电话: 010-82893336e_mail: guoq@12315.bj.cn 招聘部门: 软件开发部 ......
日前和时间的操作
java学习笔记(2)
2003/05/02 xuyunsheng
一.java中日期的获取.设置与格式化
1)java提供了3个日期类:date.calendar与dateformat.
date()方法主要用于创建日期对象并获取日期;
calendar()方法主要用于获取与设置日期;
dateformat()方法主要用于创建日期格式化器,然后再由格式化器将日期转换为各种日期格式串输出.
2)java语言规定的基准日期为格林尼治标准时间1970.1.1.00:00:00,当前日期是由基准日期开始所经历的毫秒数转换出来的.
3)datefomat类在java.text包中,date与calendar类在java.util包中....
下一页 摘要:
to build the exoplatform from the src (if you cant connect to the www.ibiblio.org/maven to get the repositorys jars,then make a new file named build.properties in the current dir,writed withmaven.pro......