16 |
# write to the Free Software Foundation, Inc., 59 Temple Place |
# write to the Free Software Foundation, Inc., 59 Temple Place |
17 |
# - Suite 330, Boston, MA 02111-1307, USA. |
# - Suite 330, Boston, MA 02111-1307, USA. |
18 |
# |
# |
19 |
# Copyright 2001 Free Software Foundation |
# Copyright 2001-2003 Free Software Foundation |
20 |
# |
# |
21 |
# FILE: |
# FILE: |
22 |
# GDateTime.py |
# GDateTime.py |
67 |
self.hour >= 0 and self.hour <= 23 and \ |
self.hour >= 0 and self.hour <= 23 and \ |
68 |
self.minute >= 0 and self.minute <= 59 and \ |
self.minute >= 0 and self.minute <= 59 and \ |
69 |
self.second >= 0 and self.second <= 59 ): |
self.second >= 0 and self.second <= 59 ): |
70 |
raise InvalidDate, _("Not a valid date") |
tmsg = _("Not a valid date") |
71 |
|
raise InvalidDate, tmsg |
72 |
|
|
73 |
|
|