Use single date instead of start and stop dates (now that ranges are supported)

svn: r53
This commit is contained in:
Don Allingham 2001-05-23 22:17:15 +00:00
parent 4c37fbf724
commit a073ffba61

View File

@ -84,26 +84,16 @@ class Address:
self.state = "" self.state = ""
self.country = "" self.country = ""
self.postal = "" self.postal = ""
self.start = Date() self.date = Date()
self.stop = Date()
def setStartDate(self,date): def setDate(self,text):
self.start.set(date) self.date.set(text)
def getStartDate(self): def getDate(self):
return self.start.getDate() return self.date.getDate()
def getStartDateObj(self): def getDateObj(self):
return self.start return self.date
def setStopDate(self,date):
self.stop.set(date)
def getStopDate(self):
return self.stop.getDate()
def getStopDateObj(self):
return self.stop
def setStreet(self,val): def setStreet(self,val):
self.street = val self.street = val