ruby-changes:11606
From: akr <ko1@a...>
Date: Wed, 22 Apr 2009 00:11:58 +0900 (JST)
Subject: [ruby-changes:11606] Ruby:r23243 (trunk): * time.c (leap_year_v_p): removed.
akr 2009-04-22 00:11:44 +0900 (Wed, 22 Apr 2009) New Revision: 23243 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23243 Log: * time.c (leap_year_v_p): removed. Modified files: trunk/ChangeLog trunk/time.c Index: time.c =================================================================== --- time.c (revision 23242) +++ time.c (revision 23243) @@ -224,13 +224,6 @@ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; -static int -leap_year_v_p(VALUE year) -{ - int y = NUM2INT(mod(year, INT2FIX(400))); - return ((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0); -} - static VALUE timegmv_noleapsecond(struct vtm *vtm) { Index: ChangeLog =================================================================== --- ChangeLog (revision 23242) +++ ChangeLog (revision 23243) @@ -1,3 +1,7 @@ +Wed Apr 22 00:11:19 2009 Tanaka Akira <akr@f...> + + * time.c (leap_year_v_p): removed. + Tue Apr 21 23:52:45 2009 Tanaka Akira <akr@f...> * time.c: remove time_t restriction from Time class. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/