summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Stollsteimer <sto.mar@web.de>2019-05-18 11:06:49 (GMT)
committerMarcus Stollsteimer <sto.mar@web.de>2019-05-18 11:06:49 (GMT)
commit60de17258ba0be6c113e60ce237c3b8608457da7 (patch)
tree91de04abe3a4a1630604bff4ae1d12e3a6bd8b9a
parentcc0e460bccbf005d23616be1ea2624a161a4ecdd (diff)
[DOC] Shorten examples for Time#{round,floor}
-rw-r--r--time.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/time.c b/time.c
index bcf904b..ac9a13d 100644
--- a/time.c
+++ b/time.c
@@ -4177,12 +4177,6 @@ rb_time_succ(VALUE time)
* t.round(2).iso8601(10) #=> "2010-03-30T05:43:25.1200000000Z"
* t.round(3).iso8601(10) #=> "2010-03-30T05:43:25.1230000000Z"
* t.round(4).iso8601(10) #=> "2010-03-30T05:43:25.1235000000Z"
- * t.round(5).iso8601(10) #=> "2010-03-30T05:43:25.1234600000Z"
- * t.round(6).iso8601(10) #=> "2010-03-30T05:43:25.1234570000Z"
- * t.round(7).iso8601(10) #=> "2010-03-30T05:43:25.1234568000Z"
- * t.round(8).iso8601(10) #=> "2010-03-30T05:43:25.1234567900Z"
- * t.round(9).iso8601(10) #=> "2010-03-30T05:43:25.1234567890Z"
- * t.round(10).iso8601(10) #=> "2010-03-30T05:43:25.1234567890Z"
*
* t = Time.utc(1999,12,31, 23,59,59)
* (t + 0.4).round.iso8601(3) #=> "1999-12-31T23:59:59.000Z"
@@ -4249,12 +4243,6 @@ time_round(int argc, VALUE *argv, VALUE time)
* t.floor(2).iso8601(10) #=> "2010-03-30T05:43:25.1200000000Z"
* t.floor(3).iso8601(10) #=> "2010-03-30T05:43:25.1230000000Z"
* t.floor(4).iso8601(10) #=> "2010-03-30T05:43:25.1234000000Z"
- * t.floor(5).iso8601(10) #=> "2010-03-30T05:43:25.1234500000Z"
- * t.floor(6).iso8601(10) #=> "2010-03-30T05:43:25.1234560000Z"
- * t.floor(7).iso8601(10) #=> "2010-03-30T05:43:25.1234567000Z"
- * t.floor(8).iso8601(10) #=> "2010-03-30T05:43:25.1234567800Z"
- * t.floor(9).iso8601(10) #=> "2010-03-30T05:43:25.1234567890Z"
- * t.floor(10).iso8601(10) #=> "2010-03-30T05:43:25.1234567890Z"
*
* t = Time.utc(1999,12,31, 23,59,59)
* (t + 0.4).floor.iso8601(3) #=> "1999-12-31T23:59:59.000Z"