From 20ea2046d51016b9e78f2296f1cf8c4e5815cf4e Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 23 May 2001 22:17:15 +0000 Subject: [PATCH] Use single date instead of start and stop dates (now that ranges are supported) svn: r53 --- src/RelLib.py | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/RelLib.py b/src/RelLib.py index b29d5c9db..4cf9f1997 100644 --- a/src/RelLib.py +++ b/src/RelLib.py @@ -84,26 +84,16 @@ class Address: self.state = "" self.country = "" self.postal = "" - self.start = Date() - self.stop = Date() + self.date = Date() - def setStartDate(self,date): - self.start.set(date) + def setDate(self,text): + self.date.set(text) - def getStartDate(self): - return self.start.getDate() + def getDate(self): + return self.date.getDate() - def getStartDateObj(self): - return self.start - - def setStopDate(self,date): - self.stop.set(date) - - def getStopDate(self): - return self.stop.getDate() - - def getStopDateObj(self): - return self.stop + def getDateObj(self): + return self.date def setStreet(self,val): self.street = val