Android的Java的 - 乔达日期是Eclipse /模拟器慢 - [英] Android Java - Joda Date is slow in Eclipse/Emulator -
问题描述
我试图找到一套的日期函数。貌似乔达
I am trying to find a set of date functions. Looks like the Joda
http://www.joda.org/joda-time/
请问我需要的一切,但是当我把一个简单的
Does everything I need, but when I call a simple
DateTime dt = new DateTime();
它挂在Eclipse或仿真器约15秒。
it hangs the Eclipse or Emulator for about 15 seconds.
我必须做一些错误的,因为我还没有发现任何人抱怨它是缓慢的。
I must be doing something wrong as I haven't found anyone else complaining about it being slow.
在乔达罐子人短了DATEDIFF()code样?
Short of the Joda jar anyone had a datediff() code sample?
推荐答案
我可以在第1版,1.5和1.62证实了这一点......我之后觉得无聊,而使用Date4J这似乎是完美的工作,并符合我的需要!
I can confirm this in version 1, 1.5 and 1.62 ... I got bored after that and instead used Date4J which seems to be working perfectly and meets my needs!
这篇关于Android的Java的 - 乔达日期是Eclipse /模拟器慢 - 的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!