[前][次][番号順一覧][スレッド一覧]

ruby-changes:36520

From: akr <ko1@a...>
Date: Thu, 27 Nov 2014 12:49:09 +0900 (JST)
Subject: [ruby-changes:36520] akr:r48602 (trunk): * time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form

akr	2014-11-27 12:48:42 +0900 (Thu, 27 Nov 2014)

  New Revision: 48602

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48602

  Log:
    * time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form
      doesn't examine wday, yday, isdst and tz.
      (time_s_mktime): [DOC] Time.mktime's 10 arguments form
      doesn't examine wday, yday and tz.
      Suggested by naruse.

  Modified files:
    trunk/ChangeLog
    trunk/time.c
Index: time.c
===================================================================
--- time.c	(revision 48601)
+++ time.c	(revision 48602)
@@ -3085,7 +3085,7 @@ time_utc_or_local(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/time.c#L3085
  *    Time.utc(year, month, day, hour, min) -> time
  *    Time.utc(year, month, day, hour, min, sec_with_frac) -> time
  *    Time.utc(year, month, day, hour, min, sec, usec_with_frac) -> time
- *    Time.utc(sec, min, hour, day, month, year, wday, yday, isdst, tz) -> time
+ *    Time.utc(sec, min, hour, day, month, year, dummy, dummy, dummy, dummy) -> time
  *    Time.gm(year) -> time
  *    Time.gm(year, month) -> time
  *    Time.gm(year, month, day) -> time
@@ -3093,7 +3093,7 @@ time_utc_or_local(int argc, VALUE *argv, https://github.com/ruby/ruby/blob/trunk/time.c#L3093
  *    Time.gm(year, month, day, hour, min) -> time
  *    Time.gm(year, month, day, hour, min, sec_with_frac) -> time
  *    Time.gm(year, month, day, hour, min, sec, usec_with_frac) -> time
- *    Time.gm(sec, min, hour, day, month, year, wday, yday, isdst, tz) -> time
+ *    Time.gm(sec, min, hour, day, month, year, dummy, dummy, dummy, dummy) -> time
  *
  *  Creates a Time object based on given values, interpreted as UTC (GMT). The
  *  year must be specified. Other values default to the minimum value
@@ -3123,7 +3123,7 @@ time_s_mkutc(int argc, VALUE *argv, VALU https://github.com/ruby/ruby/blob/trunk/time.c#L3123
  *   Time.local(year, month, day, hour, min) -> time
  *   Time.local(year, month, day, hour, min, sec_with_frac) -> time
  *   Time.local(year, month, day, hour, min, sec, usec_with_frac) -> time
- *   Time.local(sec, min, hour, day, month, year, wday, yday, isdst, tz) -> time
+ *   Time.local(sec, min, hour, day, month, year, dummy, dummy, isdst, dummy) -> time
  *   Time.mktime(year) -> time
  *   Time.mktime(year, month) -> time
  *   Time.mktime(year, month, day) -> time
@@ -3131,7 +3131,7 @@ time_s_mkutc(int argc, VALUE *argv, VALU https://github.com/ruby/ruby/blob/trunk/time.c#L3131
  *   Time.mktime(year, month, day, hour, min) -> time
  *   Time.mktime(year, month, day, hour, min, sec_with_frac) -> time
  *   Time.mktime(year, month, day, hour, min, sec, usec_with_frac) -> time
- *   Time.mktime(sec, min, hour, day, month, year, wday, yday, isdst, tz) -> time
+ *   Time.mktime(sec, min, hour, day, month, year, dummy, dummy, isdst, dummy) -> time
  *
  *  Same as Time::gm, but interprets the values in the
  *  local time zone.
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48601)
+++ ChangeLog	(revision 48602)
@@ -1,3 +1,11 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Nov 27 12:46:38 2014  Tanaka Akira  <akr@f...>
+
+	* time.c (time_s_mkutc): [DOC] Time.utc's 10 arguments form
+	  doesn't examine wday, yday, isdst and tz.
+	  (time_s_mktime): [DOC] Time.mktime's 10 arguments form
+	  doesn't examine wday, yday and tz.
+	  Suggested by naruse.
+
 Thu Nov 27 11:45:33 2014  Eric Wong  <e@8...>
 
 	* iseq.c (iseq_data_to_ary): add missing GC guard

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]