Flavio S. Glock wrote:
About the API:
when you said It could then be extended ... you mean another module,
right?
I think you are defining a lot of functionality, beyond ::Week.
- Flavio S. Glock
Yup, that's true. So what do we have?
DateTime::Business::Week
Define a week as an
Hi everybody,
I'm trying to make some custom locales and I've been having trouble getting the
register method to work. Even using the example code:
DateTime::Locale-register
( id = 'en_GB_RIDAS',
en_language = 'English',
en_territory = 'United Kingdom',
On Sat, 4 Oct 2003, [NS]Elgyn wrote:
Hi everybody,
I'm trying to make some custom locales and I've been having trouble getting the
register method to work. Even using the example code:
DateTime::Locale-register
( id = 'en_GB_RIDAS',
en_language = 'English',
0.04 2003-10-03
- The documentation incorrectly showed the DateTime::Locale-register
method as taking an array, rather than an array of hash references.
Reported by David Hood.
The code is identical to 0.03.
-dave
/*===
House Absolute Consulting
www.houseabsolute.com
Any ideas as to what the problem is??
Not all tests passed for nmake test when installing DateTime.pm. There were no issues
with nmake. I have Perl 5.8 with VC++ 5 (latest service pack) Please message below:
D:\Perl\bin\perl.exe -MExtUtils::Command::MM -e test_harness(0, 'blib\lib',
On Fri, 3 Oct 2003, Michael and Alice Smith wrote:
Any ideas as to what the problem is??
# Failed test (t\20infinite.t at line 61)
# got: '-2147483648'
# expected: '2147483648'
# Failed test (t\20infinite.t at line 61)
# got: '-2147483646'
# expected:
On Thu, 2 Oct 2003, Mathieu wrote:
to my problem i didn't spotted ? If it's the proper way is there
any chance it will be included in a future release ?
It's definitely not the proper way, but I could be persuaded to add a
DateTime::TimeZone-zone_name_is_valid method.
-dave
Dave Rolsky schreef:
On Fri, 3 Oct 2003, Eugene van der Pijll wrote:
$dt1-subtract_datetime( $dt2,
[ 'months', 'days', 'minutes', 'seconds' ] );
It's not hard, just a little bit of math. I'm more concerned with the
API. I don't like the one you have
On Thu, 2 Oct 2003, RIck Measham wrote:
$working_hours = new DateTime::Business::Week(
days = [1 .. 5],
start = {hour = 9, minute = 0},
end = {hour = 17, minute = 30}
);
and, for those with more complex weeks:
$working_hours = new DateTime::Business::Week(
Forwarding to [EMAIL PROTECTED] as requested. Question below.
- James M Snell
[EMAIL PROTECTED]
http://www.ibm.com
(877) 511-5082 / Office
930-1979 / Tie Line
- Forwarded by James M Snell/Fresno/IBM on 10/03/2003 03:03 PM -
Dave Rolsky [EMAIL PROTECTED]
10/03/2003 02:27 PM
To
On Fri, 3 Oct 2003, James M Snell wrote:
But the installation fails when it tries to run the tests:
C:\Environment\Perl\bin\perl.exe -MExtUtils::Command::MM -e
test_harness(0, 'blib\lib',
'blib\arch') t\00load.t t\01sanity.t t\02last_day.t t\03components.t
t\04epoch.t
On 2003-10-03 Dave Rolsky wrote:
I see us needing a couple things: - Recording the fact that certain
days are special non-work days. This includes both public holidays,
company holidays, one shot things like fumigating the building, etc.
We not only want to record when these are, but their
Hello,
# New locale: it
# Failed test (t\20infinite.t at line 61)
# got: '-2147483648'
# expected: '2147483648'
# Failed test (t\20infinite.t at line 61)
# got: '-2147483646'
# expected: '2147483648'
# Looks like you failed 2 tests of 39.
Failed 1/26
On Thu, 2 Oct 2003, Flavio S. Glock wrote:
Rick Measham wrote:
At 5:07 PM +1000 2/10/03, Scott Penrose wrote:
I am trying to do the age old problem...
* Here is DateTime 1
* Here is DateTime 2
* Here is the working week (Mon-Fri, 9-5) (or whatever we define)
* Tell me the
0.04 2003-10-03
- The documentation incorrectly showed the DateTime::Locale-register
method as taking an array, rather than an array of hash references.
Reported by David Hood.
The documentation is still incorrect, using the example given in the
documentation I get:
Not an ARRAY
On Sat, 4 Oct 2003, David Hood wrote:
0.04 2003-10-03
- The documentation incorrectly showed the DateTime::Locale-register
method as taking an array, rather than an array of hash references.
Reported by David Hood.
The documentation is still incorrect, using the example given in
This time I got the bright idea of adding those testy thingies.
0.05 2003-10-03
- Really make the documentation and code match! This time there are
even tests for this. Reported by David Hood (again).
- DateTime::Locale won't try to load a class if it already has a new()
method. This is so
Is there there actually a compiled DateTime.so? If not, then it's not an
XSLoader problem, it's just that nothing is being compiled.
Doh! Teach me to be rusty on my Perl and make stuff. I just checked and
what I had not noticed is that make was throwing up when it tried to
launch the
18 matches
Mail list logo