设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Joda-Time 2.9.5发布,Java日期时间处理库

2016-11-7 22:11| 发布者: joejoe0332| 查看: 636| 评论: 0|原作者: oschina|来自: oschina

摘要: Joda-Time 2.9.5 发布了。更新内容如下:Add Norwegian period translations Add Duration.dividedBy(long,RoundingMode) DateTimeZone data updated to version 2016iFixed bug where clock read twice when compar ...

Joda-Time 2.9.5 发布了。

更新内容如下:

  • Add Norwegian period translations [#378]

  • Add Duration.dividedBy(long,RoundingMode) [#69, #379]

  • DateTimeZone data updated to version 2016i

  • Fixed bug where clock read twice when comparing two nulls in DateTimeComparator [#404]

  • Fixed minor issues with historic time-zone data [#373]

  • Fix bug in time-zone binary search [#332, #386]

  • The fix in v2.9.2 caused problems when the time-zone being parsed was not the last element in the input string. New approach uses a different approach to the problem.

  • Update tests for JDK 9 [#394]

  • Close buffered reader correctly in zone info compiler [#396]

  • Handle locale correctly zone info compiler [#397]

下载地址:

JodaTime 提供了一组Java类包用于处理包括ISO8601标准在内的date和time。可以利用它把JDK Date和Calendar类完全替换掉,而且仍然能够提供很好的集成。

Joda-Time主要的特点包括:

1. 易于使用:Calendar让获取"正常的"的日期变得很困难,使它没办法提供简单的方法,而Joda-Time能够 直接进行访问域并且索引值1就是代表January。
2. 易于扩展:JDK支持多日历系统是通过Calendar的子类来实现,这样就显示的非常笨重而且事实 上要实现其它日历系统是很困难的。Joda-Time支持多日历系统是通过基于Chronology类的插件体系来实现。
3. 提供一组完整的功能:它打算提供 所有关系到date-time计算的功能.Joda-Time当前支持6种日历系统,而且在将来还会继续添加。有着比JDK Calendar更好的整体性能等等。


酷毙

雷人
1

鲜花

鸡蛋

漂亮

刚表态过的朋友 (1 人)

  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部