The nice thing about standards

pijll on 2004-08-28T20:50:40

Ere-yesterday I realised that my DateTime::Format::Epoch module can count days too, by using units of 1/84,600 second. So I've added a Julian Day module to the package.

Now this is not the only JD module on CPAN, but I've also added a Modified Julian Day module. And one for Reduced Julian Days. And for one version of Truncated Julian Days. And all these JD's do the same thing: count the number of days since a specific point in time. Just like the Lilian Day number and the Rata Die count (both also included in the package).

I have not yet included Chronological Julian Days and Dublin Julian Days (both not used widely enough), or the other version of Truncated JD (too confusing), but if anyone needs them, just ask. And I don't understand Heliocentric Julian Days, but i've just found the module Astro::Time::HJD, which can do the hard work for me...

That's the nice thing about date reckoning standards. So many to choose from...


Typo

vsergu on 2004-08-30T17:05:42

s/84,600/86,400/. Presumably it's okay in the modules, though.

Re:Typo

pijll on 2004-08-31T16:58:32

It's correct in the modules, of course. They wouldn't have passed the tests if it wasn't.

The documentation, on the other hand, is wrong... Thanks for catching this!