Eugene van der Pijll wrote: > So I want > to put all the DateTime.pm time stuff in a DateTime::Time module. All > calendar modules that use the usual 24hour day can then inherit the > time handling methods from DateTime::Time. > > It had not occurred to me to make it useable separately, to just > handle times; but it's possible. Although it might be overkill: if you > don't know the date, you can't handle timezones correctly.
We already have a module that, to some extent, knows about "time": it is DateTime::Duration. - Flavio S. Glock