• N
    Add `before?` and `after?` methods to date and time classes · 20fa0d92
    Nick Holden 提交于
    Equality comparisons between dates and times can take some extra time to
    comprehend. I tend to think of a date or time as "before" or "after"
    another date or time, but I naturally read `<` and `>` as "less than"
    and "greater than." This change seeks to make date/time comparisons more
    human readable.
    20fa0d92
calculations.rb 5.2 KB