Skip to content

Commit ac25182

Browse files
committed
Enhanced RDoc
1 parent f9ecaad commit ac25182

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

ext/date/date_core.c

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2468,7 +2468,8 @@ date_s__valid_jd_p(int argc, VALUE *argv, VALUE klass)
24682468
* call-seq:
24692469
* Date.valid_jd?(jd, start = Date::ITALY) -> true
24702470
*
2471-
* Returns +true+; implemented for compatibility.
2471+
* Implemented for compatibility;
2472+
* returns +true+ unless +jd+ is invalid (i.e., non a Numeric).
24722473
*
24732474
* Date.valid_jd?(2451944) # => true
24742475
*
@@ -7267,19 +7268,6 @@ datetime_s_ordinal(int argc, VALUE *argv, VALUE klass)
72677268
return ret;
72687269
}
72697270

7270-
/*
7271-
* call-seq:
7272-
* DateTime.civil([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime
7273-
* DateTime.new([year=-4712[, month=1[, mday=1[, hour=0[, minute=0[, second=0[, offset=0[, start=Date::ITALY]]]]]]]]) -> datetime
7274-
*
7275-
* Creates a DateTime object denoting the given calendar date.
7276-
*
7277-
* DateTime.new(2001,2,3) #=> #<DateTime: 2001-02-03T00:00:00+00:00 ...>
7278-
* DateTime.new(2001,2,3,4,5,6,'+7')
7279-
* #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
7280-
* DateTime.new(2001,-11,-26,-20,-55,-54,'+7')
7281-
* #=> #<DateTime: 2001-02-03T04:05:06+07:00 ...>
7282-
*/
72837271
static VALUE
72847272
datetime_s_civil(int argc, VALUE *argv, VALUE klass)
72857273
{

0 commit comments

Comments
 (0)