Joda要包含在Java 7中的时间? [英] Joda Time to be included in Java 7?

查看:94
本文介绍了Joda要包含在Java 7中的时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

Java 7日期/时间API

我已经阅读传闻说,Joda时间将被包含在Java 7中,但是无法找到这个信息的确定来源。将来JDA时间将包含在未来的JDK中?请引用你的来源。

I've read rumors that Joda Time is slated to be included in Java 7, but am having trouble locating a definitive source for this information. Will Joda Time be included in a future JDK? Please cite your source.

推荐答案

史蒂芬·科尔伯恩,乔达时代的作者是 JSR-310 ,旨在为旧日历/日期类提供替代方案。虽然有一些相似之处,但是JSR-310本身并不是Joda Time。

Steven Colebourne, the author of Joda time is the spec lead of JSR-310 which aims to provide an alternative to the "old" Calendar/Date classes. While there are some similarities, JSR-310 is not Joda Time per se.

我在邮件列表中跟踪了很长一段时间,但还有很多开放的问题,所以到目前为止,似乎JSR-310将不会被包含在JDK7中。

I followed the mailing list for quite some time, but there were quite a few open issues left, so as of now it does not appear as if JSR-310 is going to be included in JDK7.

所以现在,如果你需要强大的日期/时间库,没有什么可以反对Joda时间 - 即使不会成为标准,JDK7中绝对不会有更好的选择。

So for now, if you are in need of a powerful date/time library, there is nothing speaking against Joda Time - even though it will not become "a standard", there will most certainly be no better alternative included in JDK7.

这篇关于Joda要包含在Java 7中的时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆