--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
interested in
events scheduled for a specific date (time is not necessarily
important)? The most common operation on a date for this purpose is
how many weeks until event X so I can display the next week's events
or send out scheduling e-mails prior to events.
Thoughts?
John
--
John Peacock
to this project.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
suggest renaming
util.[ch] to something unique.
HTH
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
where the performance issues really are.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
needed.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
term). This would allow reduced precision date math to happen naturally.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
to see you came to
your senses... ;-)
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
EOF at -e line 1.
;)
Sorry, I know that's not what you wanted to know:
c:\perl -le @t = gmtime(-1); print grep {defined} @t ? \[EMAIL PROTECTED] :
\undef\n\
undef
HTH
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite
to correctly bail out.
:(
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
if
there is any problem whatsoever, in any dependency, they don't always go back
and see what was the problem.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
/foldoc.cgi?query=gigoaction=Search
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
the CENTURY be a dropdown list with 19, 20, 21,
etc. will assist the user to no end in actually entering the proper information.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
://www.dmi.uiuc.edu/y2k/window.htm
for a way to handle moving windows.
The two digit year format is so pernicious that it demands a warning in pretty
much all cases, and an error in any situation where the data is important.
John
--
John Peacock
Director of Information Research and Technology
would dispatch to the DT::F::something
modules. That way, nothing needs to be added to the DateTime class itself, if
you never need parsing.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
as twelve fifteen except verbally. I'll be very interested in seeing your
module...
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
this link on the P5P list)
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
if the Marriot's Rooms that Work includes a network connection?
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
for
http://www.lxgmovie.com/
which opens Friday night? Is there a decent movie theatre downtown?
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
in Perl6, but I don't think that has been settled yet.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5748
;
for ( result = 78796799; result =78796801; result++)
{
printf(%s, asctime(gmtime(result)));
}
return(0);
}
yields
$ ./test
Fri Jun 30 23:59:59 1972
Sat Jul 1 00:00:00 1972
Sat Jul 1 00:00:01 1972
which is the same output as Perl.
John
--
John Peacock
Director
Dave Rolsky wrote:
Ok, I applied this. Does this mean all tests pass on Win32 now?
I don't know; I'm at home (Linux only, thanks) and not at work. I'll get the
latest CVS and double check on Monday. Is that soon enough?
John
--
John Peacock
Director of Information Research and Technology
of whole cloth for the poor
souls running Win32??? I guess that could be included in Time::Local...
I'll move on to the t\20infinite.t failures next.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD
Hill, Ronald wrote:
fails horrably on windows :(
I posted this on CLPM maybe someone has something on this.
It's even documented that way now in bleadperl:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-05/msg00495.html
:~(
John
--
John Peacock
Director of Information Research
John Peacock wrote:
Hill, Ronald wrote:
fails horrably on windows :(
I posted this on CLPM maybe someone has something on this.
It's even documented that way now in bleadperl:
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-05/msg00495.html
And to follow up on that, it appears
instead of 1 32k line? Having to require a specific make/gmake is really
not a good plan. It should be very unusual to require some different helper
utility like 'gmake' to build an extension to Perl when that resident 'make' can
build Perl itself.
John
--
John Peacock
Director of Information
;
$VERSION = new version qw$Revision: 1.9 $;
which sadly doesn't help me that much since I am moving to Subversion myself...
HTH
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax
999 subversions (and it handles branches just fine).
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
or not?
I think that the truncation should be the highest granularity _preserved_, i.e.
'month' should drop the days and time, and truncate(to='year') should drop
everything except the year.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing
-12-31 23:59:60 UTC, since there isn't a leap hour yet
(until the moon rockets out of orbit in 1999, anyways ;~)...
I would argue that the correct answer should be 1999-01-02 00:00:00 UTC. Add
the requested period and then normalize if appropriate.
John
--
John Peacock
Director of Information
updated. ;~)
The idea is empower the user to update their own d**n data files and keep the
CPAN distro as small/simple as possible.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD 20706
301-459
');
-}
+use_ok('DateTime::TimeZone');
since you cannot have the use_ok() wrapped in a BEGIN (since Test::More won't be
loaded yet).
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
::TimeZone...
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
@ 8pm
$dt-set( time_zone = 'America/Denver' ); # Boulder, CO @ 6pm
It's an operation, not just a flag.
IMNSHO ;~)
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
)
# Tried to use 'DateTime::TimeZone'.
# Error: Can't locate DateTime/TimeZoneCatalog.pm in @INC
Did you forget to add this file to the CVS repository???
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD
Dave Rolsky wrote:
Well, an XS implementation is quite likely to beat pure Perl, even if you
used RD days as well.
Don't tell anyone, but my first pass will be pure Perl, since I am still pretty
much an XS newbie...
John
--
John Peacock
Director of Information Research and Technology
Rowman
to think about low and
high level concerns at the same time.
Hey! I thought you were doing all of the high level thinking here! duck
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax
to other formats (my preferred method). Those are going to be the exceptional
cases. The general case is someone who wants to calculate hours between
something, days until my birthday, years since Lincoln died.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield
of other methods in DateTime.pm it'd be pointless to
override as well, along these same lines.
No question. Any implemention class will inherit all of the derivable methods
and only implement/override the minority of primitive methods (like $obj-year
for example).
John
--
John Peacock
, but may be patentable if it applies the algorithm to accomplish a specific technical purpose.
All of these patents may be bogus and could be overturned by a court;
nonetheless, it is technically legal to patent algorithms under some
circumstances in the U.S. Other countries vary...
John
--
John
.
This is a much more friendly interface for the average programmer.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
it DWIM.
Good luck!
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
John Peacock wrote:
since the first Thusday in January is Jan 2, 2003, that is Week 1 (and
hence Date::Calc is wrong). Note also the last line of that answer
(that this numbering is not used in the US).
Sorry, I read your description the wrong way round; Date::Calc is correct (sorry
Steffen
deal with namespace polution complaints.
John
--
John Peacock
Director of Information Research and Technology
Rowman Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
44 matches
Mail list logo