Re: DateTime From Solar Longitude

[email protected] (Daisuke Maki)
Newsgroups perl.datetime
Message-ID <[email protected]>
Sorry, that module is a bit unmaintained.
If you find any insconsistencies, let me know.

# those were my first CPAN modules *blush*

--d


Jaldhar H. Vyas wrote:
> On Sun, 22 Jun 2008, Flavio S. Glock wrote:
> 
>> how about:
>>
>>  use DateTime::Event::Lunar;
>>  use DateTime::Event::SolarTerm;
>>  my $new_moon = DateTime::Event::Lunar->new_moon();
>>
>>  my $dt0  = DateTime->today;
>>  my $eq = DateTime::Event::SolarTerm->next_term_at(
>>    datetime  => $dt0,
>>    longitude => 0,
>>  );
>>  print $new_moon->next( $eq ), "\n";
>>
> 
> 
> Thanks, this is working great with my test data.  Though 
> DateTime::Event::Solarterm is failing a bunch of its tests with is a bit 
> worrisome.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.