The behavior I would expect would be to throw an error when the date is outside of the range of valid dates for the month. If you try to create a date on February 31st throw an error. Have you seriously never used a good API that's intuitive and isn't full of gotchas?
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: