Hello,
  whats the correct way to get the duration between two LocalDateTime

I've used:

Period diff = Period.fieldDifference(now, limit);
Duration d = diff.toStandardDuration();

This works great, but when the difference is too big (months)
I get an UnsupportedOperationException from period.j...@line 1454.

What is the proper way to calculate the duration between
two LocalDateTime?, I don't care about time zone.

Any ideas?
Thanks all in advance.
-- 
Mauro Ciancio <maurociancio at gmail dot com>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to