会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
pz_ww
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2020年8月13日
Calendar的用法以及建议禁止用calendar 不建议用date 推荐用LocalDate、LocalTime、LocalDateTime【java8新提供的类】
摘要: 1、通常使用Calendar,首先需要 Calendar calendar = Calendar.getInstance(); Calendar calendar = Calendar.getInstance(); 指定时间: calendar.setTime(date);//date为日期类型 /
阅读全文
posted @ 2020-08-13 16:11 pz_ww
阅读(1087)
评论(0)
推荐(0)
编辑