Am 09.04.2010 13:34, schrieb Mark J. Reed:
The date still corresponds to an actual day. If I set it to Feb 31, I should get back Mar 2 or 3 depending on the year. While I'm having trouble thinking of a good specific example, it's a capability I've taken advantage of many times, in holiday calculations, calendar conversions, and such. I believe it's Python's datetime module that has unchecked_* methods for the purpose. Maybe in p6 the setters could do the correction if the exception is resumed?
Too much magic. Sounds to me like you want a named parameter for a setter, like :force or :unchecked or so.
Anyway, I'm not sure such a feature needs to be in the core, at least not in 6.0.0.
Cheers, Moritz