Date-Calc reviews

cpanratings
 

RSS | Module Info | Add a review of Date-Calc

Date-Calc (5.8)

Dave Rolsky wrote on 2003-08-13 13:56:27:

The interface is rather awkward, as multiple operations require
you to sling around many parameters, because the functions return
list of values (like year, month, day) which you have to track.

The reason for this is that it makes one-liners such as this possible:

sub Mktime # in: year,month,day,hour,min,sec out: secs since epoch
{

return Date_to_Time(Add_Delta_YMDHMS(@_,map(-$_,(Timezone(Date_to_Time(@_)))[0..5])));
}

Steffen Beyer - 2009-10-05T07:15:24 (permalink)

1 out of 3 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.4) *****

Well, it got the job done. So I give it 5 stars for that. The documentation had enough examples for me to quickly figure out what I needed to do.

jacques - 2006-10-22T23:18:05 (permalink)

5 out of 7 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.4) *****

This module is fast to load and easy to use.

I normally inherit Date::Calc::Object into a wrapper.

G. Allen Morris III - 2005-12-17T15:11:02 (permalink)

2 out of 3 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.3) ****

The interface is indeed odd, but you do get used to it rather quickly. And the module does what it set out to do. I use it a lot, but I do not use it exclusively, so it's worth checking out the competition.

nathan mcfarland - 2004-08-10T12:53:54 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.3) ****

I find this module difficult and awkward to use sometimes, but it is very useful and fast.

Chris Nandor - 2003-08-25T22:19:06 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.3) ***

This module does most of what I need, and it isn't terrible at it. It's just strange. It has a somewhat clunky interface (Nth_Weekday_of_Month_Year is too long for a sub name) and often strikes me as providing strange ways of solving its problems. Hopefully DateTime will obsolete Date::Calc.

Ricardo Signes - 2003-08-14T03:16:08 (permalink)

Was this review helpful to you?  Yes No

Date-Calc (5.3) ***

This module is good at what it does, but it might not do everything you need (timezones, for example). The interface is rather awkward, as multiple operations require you to sling around many parameters, because the functions return list of values (like year, month, day) which you have to track.

The docs for the main portion of the code, Date::Calc, are complete and relatively easy to read, but the docs for Date::Calc::Object are somewhat confusing.

Dave Rolsky - 2003-08-13T13:56:27 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

Date-Calc (5.3) *****

Fast and useful module. I really like that it does not try impose
a slow OO interface on stuff that does not need it. I would have
liked it even better if the function names did not upcase each word
and if the synopsis section of the documentation was shorter.

gaas - 2003-08-13T10:53:33 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No