| 1 |
0.19 2017-03-07 |
| 2 |
- Documentation: |
| 3 |
-- "week_start_day" parameter no longer marked "for internal use". |
| 4 |
-- Fix "week day" examples. Pointed out by Eric Jensen and Zefram |
| 5 |
in a thread started by Andrew Martin in [email protected] |
| 6 |
-- Clarify that week_start_day defaults to "1mo", except for |
| 7 |
yearly recurrences that default to "mo". Patches by David Steinbrunner. |
| 8 |
-- Updated contact email. |
| 9 |
|
| 10 |
0.18 2015-11-11 |
| 11 |
- added a test; depends on DateTime::Set 0.3600 |
| 12 |
|
| 13 |
0.17 2005-08-11 |
| 14 |
- added a test and fixed a bug where the parameter to |
| 15 |
next($dt) had a timezone. Reported by Simon Wistow. |
| 16 |
|
| 17 |
0.16 2005-05-12 |
| 18 |
- fix 'BYWEEK' -> 'BYWEEKNO' |
| 19 |
- Depends on DateTime 0.27 because it uses local_rd_values(). |
| 20 |
This fixes a local/UTC problem reported by Dave Rolsky. |
| 21 |
- uses no DateTime.pm internals |
| 22 |
- removed (undocumented) arguments 'after' and 'start' |
| 23 |
|
| 24 |
0.15_02 2005-01-27 |
| 25 |
- allows interleaved neg/positive values; allows repeated indexes. |
| 26 |
Supports weird argument lists such as [ -200, -10, -10, 200, 20 ]. |
| 27 |
Speed is slower by another 10%. |
| 28 |
|
| 29 |
0.15_01 2005-01-26 |
| 30 |
- full overflow checking. |
| 31 |
The previous version only checked for some kinds of month overflows. |
| 32 |
The tests run slower by about 12%. |
| 33 |
- checks for invalid parameters, such as "monthly( months=>xx )" or |
| 34 |
"yearly( months=>xx, weeks=>xx )" |
| 35 |
- added a dispatch table for "offset" calculations |
| 36 |
- fixed and added tests for monthly( week => ...) |
| 37 |
- modified "sort positive values first". Patch by Yitzchak Scott-Thoennes. |
| 38 |
- refactored _setup_parameters() |
| 39 |
- Updated pod and tests. |
| 40 |
|
| 41 |
0.15 2005-01-19 |
| 42 |
- array-ref parameter lists are not mutated. Patch by Daisuke Maki. |
| 43 |
- rewritten "sort positive values first" in _setup_parameters() |
| 44 |
|
| 45 |
0.14 |
| 46 |
- requires DT::Set 0.17, because 0.16 had a bug that would break |
| 47 |
some tests. |
| 48 |
|
| 49 |
0.13 2004-06-17 |
| 50 |
- a weekly recurrence with an interval behaves strangely, |
| 51 |
if the given dtstart is a sunday. Reported by Bridget Almas. |
| 52 |
Fix: _week() uses "week start day" in the calculation. |
| 53 |
|
| 54 |
0.12 2004-05-26 |
| 55 |
- monthly recurrence at day 29 shows march-01. Reported by Bridget Almas. |
| 56 |
|
| 57 |
0.11 2004-05-24 |
| 58 |
- using both 'interval' and 'start' parameters could cause the program |
| 59 |
to hang. Reported by Bridget Almas. |
| 60 |
|
| 61 |
0.10 2004-03-17 |
| 62 |
0.0901 2004-03-09 |
| 63 |
- the recurrence functions accept infinite DateTimes, as required |
| 64 |
by DT::Set 0.1402 |
| 65 |
|
| 66 |
0.09 2003-10-10 |
| 67 |
- recurrences can be formatted using |
| 68 |
DateTime::Format::ICal->format_recurrence(). |
| 69 |
Some recurrences (ex: nanoseconds) are not supported by ICal format. |
| 70 |
- added nanosecond tests |
| 71 |
|
| 72 |
0.08 2003-10-31 |
| 73 |
- bugfix: when "interval==1" it should be processed as if there |
| 74 |
was no interval. Found by Danny Rappleyea |
| 75 |
- document "start" parameter. |
| 76 |
- changed some operations in next/previous that were done twice. |
| 77 |
|
| 78 |
0.07 2003-09-02 |
| 79 |
- tests pass under Perl 5.00503 |
| 80 |
|
| 81 |
0.06 |
| 82 |
- defines DateTime::Set::ICal class, in order to provide |
| 83 |
ICal strings to represent recurrences (set/get_ical) |
| 84 |
|
| 85 |
0.05 2003-05-23 |
| 86 |
- memoizes durations; makes less calls to DT::Duration->new |
| 87 |
- 'weekly' can use 'week_start_day' |
| 88 |
|
| 89 |
0.04 2003-05-14 |
| 90 |
- turn on warnings in tests and fix all warnings given. |
| 91 |
- require DateTime::Set 0.06 |
| 92 |
|
| 93 |
0.03 2003-05-12 |
| 94 |
- iterates using binary tree |
| 95 |
- parameter checking |
| 96 |
- fixed behaviour of negative numbers (rfc2445) |
| 97 |
14h and -15min was: 13:45 = subtract 15 minutes |
| 98 |
now: 14:45 = last 15 minutes of hour |
| 99 |
- removed parameter 'year_type' |
| 100 |
- 'duration' argument is obsolete |
| 101 |
- added 'interval' parameter |
| 102 |
- moved local parameters to a hash |
| 103 |
- moved unit-specific subs to hash |
| 104 |
- added year_type => 'weekly' to yearly (internal) |
| 105 |
default is year_type => 'monthly'. |
| 106 |
|
| 107 |
0.02 2003-04-27 |
| 108 |
- tests month-day overflow for positive day offsets, if 'month' |
| 109 |
argument is specified. Skips a datetime if it is invalid. |
| 110 |
- setup structure to allow other overflow tests. |
| 111 |
- returns empty set for 'impossible' recurrences. |
| 112 |
- many docs and code tweaks. by Dave Rolsky |
| 113 |
|
| 114 |
0.01 2003-04-21 |
| 115 |
- CPAN upload |
| 116 |
- no longer inherits DateTime::Set |
| 117 |
|
| 118 |
0.00_11 |
| 119 |
|
| 120 |
- added 'set' tests |
| 121 |
- docs correction. Dave Rolsky |
| 122 |
|
| 123 |
0.00_10 |
| 124 |
|
| 125 |
- ISA DateTime::Set |
| 126 |
- removed as_set |
| 127 |
- moved all accessors to DateTime::Set |
| 128 |
- requires DT::Set 0.02 |
| 129 |
|
| 130 |
0.00_09 |
| 131 |
|
| 132 |
- new syntax |
| 133 |
$r = DT::E::R->monthly ( |
| 134 |
days => [ 4, 15, 18 ], |
| 135 |
hours => [ 10, 20 ] ); |
| 136 |
|
| 137 |
0.00_08 |
| 138 |
|
| 139 |
- both previous and next work; all tests pass; more docs |
| 140 |
|
| 141 |
0.00_07 |
| 142 |
|
| 143 |
- works with 2-D durations; looks up table in linear time (in worst case). |
| 144 |
That is, a 4x4 table gives 4^4 combinations but is looked up in 4*4 time. |
| 145 |
But it could be done in 4log4 time... |
| 146 |
|
| 147 |
0.00_06 |
| 148 |
|
| 149 |
- works with multiple durations like |
| 150 |
$r = DT::E::R->monthly ( |
| 151 |
duration => \@durations ); |
| 152 |
- durations _must_ be pre-sorted. |
| 153 |
|
| 154 |
0.00_05 |
| 155 |
|
| 156 |
- refactored constructor subs |
| 157 |
- added a very rough multiple-duration structure |
| 158 |
(doesn't work with mixed negative/positive durations) |
| 159 |
|
| 160 |
0.00_03 |
| 161 |
|
| 162 |
- "duration" argument in constructors |
| 163 |
|
| 164 |
0.00_02 |
| 165 |
|
| 166 |
- previous, closest, weekly |
| 167 |
|