• P
    Refactored common date and time calculations. · b530fd10
    Pan Thomakos 提交于
    * Added the `DateAndTime::Calculations` module that is included in Time
      and Date. It houses common calculations to reduce duplicated code.
    * Simplified and cleaned-up the calculation code.
    * Removed duplication in tests by adding a behavior module for shared
      tests. I also added some missing tests.
    b530fd10
time_ext_test.rb 42.6 KB