| 1 |
TODO file for DateTime::Incomplete |
| 2 |
|
| 3 |
- Add new methods from DateTime |
| 4 |
|
| 5 |
- truncate( to => 'week' ) |
| 6 |
|
| 7 |
- test Storable hooks |
| 8 |
|
| 9 |
perl -Ilib -MStorable -MDateTime::Incomplete -MData::Dumper -e '$dt=DateTime->new(year=>1970);$dti=DateTime::Incomplete->new( year => 2003, base=>$dt, time_zone => "America/Chicago" );$freeze = Storable::nfreeze( $dti );print "$freeze\n"; ' |
| 10 |
|
| 11 |
- more tests for next/previous/closest with year and nanosecond |
| 12 |
- use $FIELDS[0] instead of 'year'; $FIELDS[-2] instead of nanosecond |
| 13 |
- change @FIELDS to a "class" constant (instead of "package") |
| 14 |
|
| 15 |
- locale and time_zone tests: |
| 16 |
mixing string and object time_zones; |
| 17 |
time_zone-only and locale-only DT::I objects. |
| 18 |
|
| 19 |
IDEAS |
| 20 |
|
| 21 |
* 'undef_char' could be configurable. |
| 22 |
|
| 23 |
* add_datetime |
| 24 |
|
| 25 |
Just like to_datetime, but adds the field values. |
| 26 |
|
| 27 |
* compare |
| 28 |
|
| 29 |
or is that simply not defined? |
| 30 |
|
| 31 |
* join( $dti ) |
| 32 |
|
| 33 |
join the "defined" keys of two DT::Incomplete objects |
| 34 |
|
| 35 |
* set_week |
| 36 |
|
| 37 |
$dti->set( week => 10 ) |
| 38 |
|
| 39 |
* is_incomplete/is_complete |
| 40 |
|
| 41 |
How do we know it is complete? |
| 42 |
|