Re: Subclassing DateTime?

2017-04-30 Thread Thomas (HFM) Wyant
> On April 29, 2017 at 8:08 PM Zefram <zef...@fysh.org> wrote: > > > Thomas (HFM) Wyant wrote: > >It seems to me that in at least some such cases subclassing > >DateTime would be a better alternative. > > You've run into the terrible factorin

Re: Subclassing DateTime?

2017-04-29 Thread Zefram
Thomas (HFM) Wyant wrote: >It seems to me that in at least some such cases subclassing >DateTime would be a better alternative. You've run into the terrible factoring of the DateTime system. All three of the modules you named already suffer from it, but subclassing DateTime would make

Subclassing DateTime?

2017-04-29 Thread Thomas (HFM) Wyant
to me that in at least some such cases subclassing DateTime would be a better alternative. But I find no documentation on how to do this. I made a sort of middle-level pass through http://datetime.perl.org/, and browsed the mailing list archives back to 2012 or so. Did I miss the documentation somehow?