Test for DT::SpanSet and daylight savings change.

[email protected]
Newsgroups perl.datetime
Message-ID <[email protected]>
So, here's a test for all the daylight savings stuff.  I started with the example I gave before, but now it's got test for the switch off of daylight savings as well.

There are 64 failures with DT::SpanSet from svn, 0 with the patch posted earlier.

I did use DT::Event::Recurrence (the test skips if it's not installed); after looking at the guts of DT::Event::Recurrence, I couldn't figure out how to reproduce the stuff it does without grabbing about 2/3 of its code.  I know that there's a way of doing this that doesn't depend upon that module; I just don't know the what the recurrence callback should look like.
19spanset_daylight_savings.t (application/octet-stream, 3.4 KB) - not displayed
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.