Use single date instead of start and stop dates (now that ranges are supported)
svn: r53
This commit is contained in:
parent
d418d63d1a
commit
20ea2046d5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user