[DB-SIG] ODMG Date/time classes

Magnus Lycka magnus.lycka@tripnet.se
Thu, 18 Dec 1997 23:22:04 +0100


Jeffrey C. Jacobs wrote:
>Specifically,
>
>	"(130 sec) % (1 min)" =>
>	"(130 sec) % 60" =>
>	"10 sec".

But what about "(5 days) % (2 integer)" ? It seems intuitive that the 'unit'
here would be 'days', but what we are doing is just (432000 sec) % (2 integer)
which is not 2 days, but 2.5 days.



	Magnus

--
Magnus Lycka, S/W Engineer, M.Sc.E.E; Folktrov. 6C, 907 51 Umea, Sweden
Tel: +46(0)90 198 498, GSM: +46(0)70 582 80 65, Fax: +46(0)70 612 80 65
<mailto:magnus.lycka@tripnet.se>         <http://www1.tripnet.se/~mly/>


_______________
DB-SIG  - SIG on Tabular Databases in Python

send messages to: db-sig@python.org
administrivia to: db-sig-request@python.org
_______________