Issue #13225 has been updated by usa (Usaku NAKAMURA).

Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE to 2.2: DONE, 2.3: REQUIRED, 2.4: DONE

ruby_2_2 r58125 merged revision(s) 57737.

----------------------------------------
Bug #13225: [DOC] expand docs for Date shifting
https://bugs.ruby-lang.org/issues/13225#change-63837

* Author: stomar (Marcus Stollsteimer)
* Status: Closed
* Priority: Normal
* Assignee: matz (Yukihiro Matsumoto)
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [i686-linux]
* Backport: 2.2: DONE, 2.3: REQUIRED, 2.4: DONE
----------------------------------------
```
ext/date/date_core.c: [DOC] expand docs for Date shifting

* add examples for Date#>> and Date#<< that clarify some edge cases
* add examples for Date#next_year and Date#prev_year
* add cross references to Date#>> and Date#<<
```


---Files--------------------------------
doc_date_shift.patch (3.95 KB)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>