Hi,

In message "Re: [ ruby-Bugs-10083 ] Inconsistencies between Time and Date classes"
    on Fri, 13 Apr 2007 19:06:14 +0900, <noreply / rubyforge.org> writes:

|The Time and Date class treat edge cases differently. This is prone to introduce errors since they are often used together.
|
|Example 1: 24:00 is valid in DateTime but not in Time
|puts DateTime::valid_time?(24,0,0) # => 1 (valid)
|puts Time.utc(2007,1,1,24,0) # => Argument error: argument out of range

Time will allow 24:00 in 1.9 and later.

							matz.