Adds a few methods to the Time class, more significant: strtotime which returns a Time object based on a string. also methods add and substract that allow you to do some easy date math (doesn't take leap months/years into account) also tomorrow and yesterday methods witch are like Time.now +- 1 day =~ to see if two Time objects are "close enough"

Required Ruby Version

None

Authors

Arthur Silva

Versions

  1. 2.0.1
    1. source

      1. 2.0.1 source November 11, 2012 (7 KB)
  2. 2.0.0
    1. source

      1. 2.0.0 source November 04, 2012 (6.5 KB)
  3. 1.3.1
    1. source

      1. 1.3.1 source August 20, 2012 (6.5 KB)
  4. 1.3
    1. source

      1. 1.3 source May 31, 2012 (6 KB)
  5. 1.2
    1. source

      1. 1.2 source May 21, 2012 (5.5 KB)
Show all versions (7 total)

SHA 256 checksum