On 2001-05-05 19:06:24, [EMAIL PROTECTED] wrote:
>
> I've never encountered a real application where microsecond precision
> was necessary in a calendaring context. Is this a real concern?
Time representations are important in non-calendaring contexts too. As a
generalised framework for the CPAN, I'm sure some people who don't care
about reefknot will want to use it. ;-)
Attosecond precision is meaningless in real applications, but the SS.NN
syntax doesn't penalise the common case. Anything which doesn't need
sub-second precision can just ignore it.
> > Something which avoided the re-blessing would be less fragile:
> >
> > my $disco = Date::Discordian->new(disco => '23 Chaos, YOLD 3177');
> > my $mdisco = Date::Mayan->new($disco);
> > print $mdisco->as_string; # or whatever.
>
> Not sure what you mean by "less fragile."
$self->{FOO} might mean different things to Date::Foo and Date::Bar, and
re-blessing references between classes doesn't call the constructor for
the second class. It's not worth the trouble to try to get everyone to
use unique keys (or, indeed, a hash-based object representation).
- ams
- Re: Grand Unified Theory of Date/Time modules Dan Brian
- Re: Grand Unified Theory of Date/Time modul... Martijn van Beers
- Re: Grand Unified Theory of Date/Time modul... srl
- Re: Grand Unified Theory of Date/Time modul... Rich Bowen
- Re: Grand Unified Theory of Date/Time modules Chris Nandor
- Mac Epoch: Was Re: Grand Unified Theory of Date... Rich Bowen
- Re: Mac Epoch: Was Re: Grand Unified Theory... Chris Nandor
- Re: Grand Unified Theory of Date/Time modules Abhijit Menon-Sen
- Re: Grand Unified Theory of Date/Time modules Rich Bowen
- Re: Grand Unified Theory of Date/Time modules Abhijit Menon-Sen
- Re: Grand Unified Theory of Date/Time modul... Rich Bowen
- Re: Grand Unified Theory of Date/Time m... Abhijit Menon-Sen
- Re: Grand Unified Theory of Date/T... srl
- Time Zones: Was Re: Grand Unified ... Rich Bowen
- Re: Time Zones: Was Re: Grand ... Abhijit Menon-Sen
- Re: Time Zones: Was Re: Grand ... srl
- Re: Time Zones: Was Re: Grand ... srl
- Re: Grand Unified Theory of Date/T... Dave Cross
- Re: Grand Unified Theory of Da... Abhijit Menon-Sen
- Re: Grand Unified Theory of Date/Time modules Peter J. Acklam
