akr
b3009ced33
add 2 assertions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 11:08:16 +00:00
akr
5c9d45e6e7
add a test. [ruby-dev:22619]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 10:40:22 +00:00
akr
dd889fac19
more tests for Time.utc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:35:34 +00:00
akr
a66ee49d2c
add test for minimum 32bit signed time_t for Time.utc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:53:00 +00:00
akr
7bb7e17675
* time.c (search_time_t): limit guess range by mktime if it is
...
availabe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:31:44 +00:00
akira
8ccba1d12f
* test/ruby/test_time.rb: added tests for [ruby-dev:22614] and
...
[ruby-dev:22617].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 07:32:47 +00:00
siena
4e880080a7
* test/ruby/test_time.rb: new test case to test Time#[+-].
...
* time.c (time_plus, time_minus): fix RangeError for a negative
argument in environments whose time_t is unsigned. [ruby-dev:22608]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 04:00:00 +00:00