Categories: None [Edit]

easy_time

https://rubygems.org/gems/easy_time
https://github.com/aks/easy_time
A class that wraps the Time class and makes it easy to work with most known time values, including various time strings, automatically converting them to Time values, and perform tolerant comparisons. Several time classes, and the String class, are extended with the ".easy_time" method to perform an auto-conversion. A tolerant comparison allows for times from differing systems to be compared, even when the systems are out of sync, using the relationship operators and methods like "newer?", "older?", "same?" and "between?". A tolerant comparison for equality is where the difference of two values is less than the tolerance value (1 minute by default). The tolerance can be configured, even set to zero. Finally, all of the Time class and instance methods are available on the EasyTime class and instances.

Total

Ranking: 34,090 of 183,477
Downloads: 33,624

Daily

Ranking: 15,400 of 183,470
Downloads: 8

Depended by

RankDownloadsName
123,8914,713sql_cmd

Depends on

RankDownloadsName
12,456,134,847bundler
71,004,546,968activesupport
71,004,546,968activesupport
10969,073,546rake
25825,073,950rspec
62484,887,430rubocop
98353,748,210simplecov
168218,043,350pry-byebug
191194,586,503rspec_junit_formatter
224160,939,746yard
319115,336,133guard
39195,652,527guard-rspec
39594,217,946redcarpet
70561,435,728fuubar
1,51818,958,332rubocop-rake
1,96010,286,212terminal-notifier-guard
7,034506,033guard-yard
17,57087,031rspec_junit

Owners

#GravatarHandle
1iconaks