[Seaside] [Bug][Fix] WADateSelector

Benoit St-Jean bstjean at yahoo.com
Fri Jul 8 06:36:25 CEST 2005

Why not, more simply:

privateIsValidDay: theDay monthNumber: theMonth
year: theYear
    | maxDay |
    (theMonth between: 1 and: 12) ifFalse: [^false].
    maxDay := Month daysInMonth: theMonth forYear:
    ^theDay > 0 & (theDay <= maxDay)

Benoit St-Jean
Yahoo! Messenger: bstjean
A standpoint is an intellectual horizon of radius zero.
(Albert Einstein)

More information about the Seaside mailing list