> I'm working with DateTime::Format::Natural and I really need a time-only > object. In fact I need an object that lets me chose what I want to give > it.
Hi Rick, I do agree with the need for the _ability_ to handle just times but I don't think it's worth the hassle of another class to deal with. I'd like to see attributes that act as a mask for which information is valid. So perhaps there would be time_only() and date_only() constructors for DT. time_only() would accept only hour/minute/seconds/tz/locale params and return an object with rd_days set to zero. Because of the attributes we could tell that date math with this object would be bogus. This could easily done as a decorator class and I'll volunteer to write it if Dave agrees. -J --
