Re: gdate integration
- From: Aaron Digulla <digulla wi-pc44 fh-konstanz de>
- To: gtk-devel-list redhat com
- Subject: Re: gdate integration
- Date: Thu, 3 Dec 1998 11:03:47 +0100
Quoting Havoc Pennington (firstname.lastname@example.org):
>[...dates with such a precision are useless in everyday use...]
> Also no
> common operating system supports fraction of a second precision (or even
> enough precision to bother fooling with leap seconds).
No OS, true, but Python does and the idea is intriguing. They use a double
to store the time in seconds. This allows to specify fractions of a
second in a "natural" way (eg. when you install a timeout).
> Perhaps GAstronomicalTime should be written but I think this kind of code
> would be useless and wasteful in 99% of the cases you want GDate. Again,
> the module is intended for things like calendars, data collected on a
> daily basis, etc. - it is meant to be optimal for 95% of cases rather than
> merely adequate for 100% of cases.
I was more thinking about a general gdate class.
Dipl. Inf. (FH) Aaron "Optimizer" Digulla Assistent im BIKS Labor, FB WI
"(to) optimize: Make a program faster by FH Konstanz, Brauneggerstr. 55
improving the algorithms rather than by Tel:+49-7531-206-514
buying a faster machine." EMail: email@example.com
] [Thread Prev