会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
首页
博客园
::
首页
::
新随笔
::
联系
::
订阅
::
管理
公告
2008年4月14日
[转]java Date总结
摘要: 1.计算某一月份的最大天数 Calendar time=Calendar.getInstance(); time.clear(); time.set(Calendar.YEAR,year); //year 为 int time.set(Calendar.MONTH,i-1);//注意,Calendar对象默认一月为0 int day=time.getActualMaxim...
阅读全文
posted @ 2008-04-14 02:33 -only-
阅读(1619)
评论(1)
推荐(0)
编辑