8000 * ext/date/date_core.c: reverted. · ruby/ruby@16c364a · GitHub
[go: up one dir, main page]

Skip to content

Commit 16c364a

Browse files
author
tadf
committed
* ext/date/date_core.c: reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 9fdf9df commit 16c364a

File tree

2 files changed

+16
-32
lines changed

2 files changed

+16
-32
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Wed May 9 06:23:33 2012 Tadayoshi Funaba <tadf@dotrb.org>
2+
3+
* ext/date/date_core.c: reverted.
4+
15
Wed May 9 04:31:26 2012 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
26

37
* lib/rinda/ring.rb (lookup_ring_any): fix Rinda::RingFinger.primary

ext/date/date_core.c

Lines changed: 12 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9234,41 +9234,30 @@ Init_date_core(void)
92349234
negative_inf = -INFINITY;
92359235

92369236
/*
9237-
* The Date and DateTime classes provide methods for storing, comparing, transforming, and operating on values of date and time. Date objects store only the date (e.g. 1987-06-29), while DateTime objects store both the date and time (e.g. 1984-02-09 05:32:12).
9237+
* date and datetime class - Tadayoshi Funaba 1998-2011
92389238
*
9239-
* 1998-2011 by Tadayoshi Funaba
9240-
*
9241-
* = Introduction
9242-
*
9243-
* Date and DateTime are included in the standard library. To use, require ‘date’ will provide both classes.
9239+
* 'date' provides two classes Date and DateTime.
92449240
*
92459241
* == Terms and definitions
92469242
*
92479243
* Some terms and definitions are based on ISO 8601 and JIS X 0301.
92489244
*
9249-
* === Calendar date
9245+
* === calendar date
92509246
*
92519247
* The calendar date is a particular day of a calendar year,
92529248
* identified by its ordinal number within a calendar month within
92539249
* that year.
92549250
*
9255-
* In the Date and DateTime classes, this is called "civil."
9251+
* In those classes, this is so-called "civil".
92569252
*
9257-
* Date.civil(2012,03,17)
9258-
* This refers to March 17th, 2012.
9259-
*
9260-
* === Ordinal date
9253+
* === ordinal date
92619254
*
92629255
* The ordinal date is a particular day of a calendar year identified
92639256
* by its ordinal number within the year.
92649257
*
9265-
* In the Date and DateTime classes, this is called "ordinal."
9266-
*
9267-
* Date.ordinal(2012,77)
9268-
* This refers to the 77th day of 2012.
9258+
* In those classes, this is so-called "ordinal".
92699259
*
9270-
*
9271-
* === Week date
9260+
* === week date
92729261
*
92739262
* The week date is a date identified by calendar week and day numbers.
92749263
*
@@ -9278,13 +9267,9 @@ Init_date_core(void)
92789267
* includes the first Thursday of that year. In the Gregorian
92799268
* calendar, this is equivalent to the week which includes January 4.
92809269
*
9281-
* In the Date and DateTime classes, this is called "commercial."
9282-
*
9283-
* Date.commercial(2012,11,06)
9284-
* This refers to the 6th day of the 11th week of 2012.
9270+
* In those classes, this so-called "commercial".
92859271
*
9286-
*
9287-
* === Julian day number
9272+
* === julian day number
92889273
*
92899274
* The Julian day number is in elapsed days since noon (Greenwich mean
92909275
* time) on January 1, 4713 BCE (in the Julian calendar).
@@ -9298,12 +9283,9 @@ Init_date_core(void)
92989283
* it just refers to "chronological Julian day number", not the
92999284
* original.
93009285
*
9301-
* In the Date and DateTime classes, this is called "ajd" and "jd."
9302-
*
9303-
* Date.jd(2456004)
9304-
* This refers to 2,456,004 days since January 1, 4713 BCE.
9286+
* In those classes, those are so-called "ajd" and "jd".
93059287
*
9306-
* === Modified julian day number
9288+
* === modified julian day number
93079289
*
93089290
* The modified Julian day number is in elapsed days since midnight
93099291
* (Coordinated universal time) on November 17, 1858 CE (in the
@@ -9319,10 +9301,8 @@ Init_date_core(void)
93199301
* appears, it just refers to "chronological modified Julian day
93209302
* number", not the original.
93219303
*
9322-
* In the Date and DateTime classes, this is called "mjd."
9304+
* In those classes, this is so-called "mjd".
93239305
*
9324-
* Date.new(2012,03,17).mjd #=> 56003
9325-
* 2012-03-17 is 56,003 days after November 17, 1858 CE.
93269306
*
93279307
* == Date
93289308
*

0 commit comments

Comments
 (0)
0