-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fails:Time#hash returns a Fixnum |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:Time#- accepts arguments that can be coerced into Rational | ||
fails:Time#- does NOT round | ||
fails:Time#- returns a time with the same fixed offset as self | ||
fails:Time#- understands negative subtractions |
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,2 @@ | ||
fails:Time.new creates a time based on given values, interpreted in the local time zone | ||
fails:Time.new respects rare old timezones | ||
fails:Time.new accepts 1 argument (year) | ||
fails:Time.new accepts 2 arguments (year, month) | ||
fails:Time.new accepts 3 arguments (year, month, day) | ||
fails:Time.new accepts 4 arguments (year, month, day, hour) | ||
fails:Time.new accepts 5 arguments (year, month, day, hour, minute) | ||
fails:Time.new raises a TypeError if the year is nil | ||
fails:Time.new accepts nil month, day, hour, minute, and second | ||
fails:Time.new handles a String year | ||
fails:Time.new coerces the year with #to_int | ||
fails:Time.new handles a String month given as a numeral | ||
fails:Time.new handles a String month given as a short month name | ||
fails:Time.new coerces the month with #to_str | ||
fails:Time.new coerces the month with #to_int | ||
fails:Time.new handles a String day | ||
fails:Time.new coerces the day with #to_int | ||
fails:Time.new handles a String hour | ||
fails:Time.new coerces the hour with #to_int | ||
fails:Time.new handles a String minute | ||
fails:Time.new coerces the minute with #to_int | ||
fails:Time.new handles a String second | ||
fails:Time.new coerces the second with #to_int | ||
fails:Time.new interprets all numerals as base 10 | ||
fails:Time.new handles fractional seconds as a Float | ||
fails:Time.new handles fractional seconds as a Rational | ||
fails:Time.new accepts various year ranges | ||
fails:Time.new returns subclass instances | ||
fails:Time.new with a utc_offset argument returns a non-UTC time | ||
fails:Time.new with a utc_offset argument returns a Time with a UTC offset of the specified number of Integer seconds | ||
fails:Time.new with a utc_offset argument returns a Time with a UTC offset of the specified number of Rational seconds | ||
fails:Time.new with a utc_offset argument returns a Time with a UTC offset specified as +HH:MM | ||
fails:Time.new with a utc_offset argument returns a Time with a UTC offset specified as -HH:MM | ||
fails:Time.new with a utc_offset argument returns a local Time if the argument is nil | ||
fails:Time.new with a utc_offset argument raises ArgumentError if the argument represents a value less than or equal to -86400 seconds | ||
fails:Time.new with a utc_offset argument raises ArgumentError if the argument represents a value greater than or equal to 86400 seconds | ||
fails:Time.new with a utc_offset argument with an argument that responds to #to_int coerces using #to_int | ||
fails:Time.new with a utc_offset argument with an argument that responds to #to_r coerces using #to_r | ||
fails:Time.new with a utc_offset argument with an argument that responds to #to_str coerces using #to_str |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
fails:Time#+ does NOT round | ||
fails:Time#+ adds a negative Float | ||
fails:Time#+ accepts arguments that can be coerced into Rational | ||
fails:Time#+ returns a time with the same fixed offset as self |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,3 @@ | ||
fails:Time#strftime returns the fractional seconds digits, default is 9 digits (nanosecond) with %N | ||
fails:Time#strftime supports the '-' modifier to drop leading zeros | ||
fails:Time#strftime with %L formats the milliseconds of of the second | ||
fails:Time#strftime with %N formats the nanoseconds of of the second with %N | ||
fails:Time#strftime with %N formats the milliseconds of of the second with %3N | ||
fails:Time#strftime with %N formats the microseconds of of the second with %6N | ||
fails:Time#strftime with %N formats the nanoseconds of of the second with %9N | ||
fails:Time#strftime with %N formats the picoseconds of of the second with %12N | ||
fails:Time#strftime with %z formats a UTC time offset as '+0000' | ||
fails:Time#strftime with %z formats a time with fixed positive offset as '+HHMM' | ||
fails:Time#strftime with %z formats a time with fixed negative offset as '-HHMM' | ||
fails:Time#strftime with %z formats a time with fixed offset as '+/-HH:MM' with ':' specifier | ||
fails:Time#strftime with %z formats a time with fixed offset as '+/-HH:MM:SS' with '::' specifier | ||
fails:Time#strftime with %z rounds fixed offset to the nearest second |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
fails:Time#to_r returns the rational number of seconds + usecs since the epoch | ||
fails:Time#to_r returns the numerator of the rational number when the denominator is 1 | ||
fails:Time#to_r returns the a Rational representing seconds and subseconds since the epoch | ||
fails:Time#to_r returns a Rational even for a whole number of seconds |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.