Joda-Time doesn't have any support for converting MJD/JD
unfortunately, so you have to do it yourself.

Stephen


2009/5/3 Nathaniel S. Parsons <ns...@cornell.edu>:
> Hi,
>
> Sorry if my question comes from a misunderstanding of time or not reading
> the documentation, but this has been bothering me for a while.  I'm trying
> to convert an existing app to use Joda time. Currently, it uses a ad-hoc mix
> of Julian Date and Modified Julian Date, stored as a single double (days
> since January 1, 4713 BC Greenwich noon or JD - 2400000.5).  Is there a
> simple way to convert this to a DateTime/Instant? What chronology should I
> use?
>
> I'm not really interested in historical accuracy, just calculations for
> today and the next few months/years.
>
> Thanks,
> Nate
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Joda-interest mailing list
> Joda-interest@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/joda-interest
>
>

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to