Okay, so now I've done a bit of tweaking to my solar longitude
calculations, and I'm now off 0.99 degrees on average from Calendrical
Calculations book (And you'll also notice an overflow problem somewhere
in the middle)
[EMAIL PROTECTED] lib]$ perl test.pl
Gergorian Date | R.D | Sol
Hi Maki,
[snipped]
[Ronald Hill Wrote]
> > This is correct, there was talk of doing this however, it
> > is not easy. The last I heard, there was work on getting
> > the SLA library released under the LGPL.
> > (hopefully this will include a windows port of the library)
> > This library has
The right answer is "use DateTime::Business::xxx"
Now how about:
sub no_holiday {
return $_[0] unless ... # lookup holidays
return undef;
}
my $prime_set = DateTime::SpanSet->from_set_and_duration(
set => DT::E::Recurrence->weekly(
days => [1..5], hours => 8 )->iterate(
Why do you hate me :-)
I have no idea how to handle this easily... is a bunch of sets the
right answer? Seems gross.
-ben
On Mon, Oct 13, 2003 at 01:00:09PM -0300, Flavio S. Glock wrote:
> How about a question for the FAQ?
>
> http://perlmonks.org/index.pl?node_id=298788
> >
> > Calcula
On Mon, 13 Oct 2003, Flavio S. Glock wrote:
> How about a question for the FAQ?
>
> http://perlmonks.org/index.pl?node_id=298788
> >
> > Calculate down time of devices in prime time (only working hours, excluding
> > p_holidays)
> > by albertc on Oct 13, 2003 at 05:00 GMT+3
> >
> > I have up & d
How about a question for the FAQ?
http://perlmonks.org/index.pl?node_id=298788
>
> Calculate down time of devices in prime time (only working hours, excluding
> p_holidays)
> by albertc on Oct 13, 2003 at 05:00 GMT+3
>
> I have up & down datetime data for devices, I need a function that will pro
Hi Maki,
>
> Hi, dt-ers.
>
> I've been lurking on this list for some time now, and so far I
> understand that while a few people have attempted, nobody has come up
> with a lunar, solar, or lunisolar calenders (at least I don't remember
> seeing it on this list).
This is correct, there was tal
Rick Measham wrote:
>
> I'm trying to get next/previous spans from a given DateTime. I'm
> defining next/previous as the event who started before or after $dt.
> Where it ends doesn't matter, even if we're still in the middle of the
> event.
Rick:
Did you get it working?
I'm starting the imple