[DB-SIG] ODMG Date/time classes

Christian Egli christian.egli@stest.ch
18 Dec 1997 15:15:11 +0100


>>>>> "Magnus" == Magnus Lycka <magnus.lycka@tripnet.se> writes:

>>>>>  At 16:20 1997-12-17 -0500, Jim Fulton wrote:

  >> [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday ]
  >> = range(7)

  Magnus> This seems to contradict the ISO standard which starts with
  Magnus> Monday.  There were just Americans in the group that
  Magnus> developed this, right? ;-)

This could easily be overwritten in a subclass IsoDate.

  Magnus> Date could certainly benefit from having methods ISO_year()
  Magnus> and ISO_week(). 

Which could also be provided by the subclass IsoDate.

-- 
Christian Egli
Switching Test Solutions AG, Friesenbergstr. 75, CH-8055 Zuerich

                                       

_______________
DB-SIG  - SIG on Tabular Databases in Python

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