Skip to content

Commit

Permalink
[ruby/date] Removed (newly unneeded) alias remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
BurdetteLamar authored and matzbot committed Feb 19, 2023
1 parent 976cc38 commit 3d53827
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions ext/date/date_core.c
Expand Up @@ -2589,8 +2589,6 @@ date_s__valid_civil_p(int argc, VALUE *argv, VALUE klass)
*
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
*
* Date.valid_date? is an alias for Date.valid_civil?.
*
* Related: Date.jd, Date.new.
*/
static VALUE
Expand Down Expand Up @@ -2986,8 +2984,6 @@ date_s_julian_leap_p(VALUE klass, VALUE y)
* Date.gregorian_leap?(2000) # => true
* Date.gregorian_leap?(2001) # => false
*
* Date.leap? is an alias for Date.gregorian_leap?.
*
* Related: Date.julian_leap?.
*/
static VALUE
Expand Down Expand Up @@ -3493,8 +3489,6 @@ date_s_civil(int argc, VALUE *argv, VALUE klass)
*
* See argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
*
* Date.civil is an alias for Date.new.
*
* Related: Date.jd.
*/
static VALUE
Expand Down Expand Up @@ -4832,8 +4826,6 @@ date_s_xmlschema(int argc, VALUE *argv, VALUE klass)
*
* See argument {limit}[rdoc-ref:Date@Argument+limit].
*
* Date._rfc822 is an alias for Date._rfc2822.
*
* Related: Date.rfc2822 (returns a \Date object).
*/
static VALUE
Expand Down Expand Up @@ -4864,8 +4856,6 @@ date_s__rfc2822(int argc, VALUE *argv, VALUE klass)
* - Argument {start}[rdoc-ref:calendars.rdoc@Argument+start].
* - Argument {limit}[rdoc-ref:Date@Argument+limit].
*
* Date.rfc822 is an alias for Date.rfc2822.
*
* Related: Date._rfc2822 (returns a hash).
*/
static VALUE
Expand Down Expand Up @@ -5346,7 +5336,6 @@ d_lite_yday(VALUE self)
*
* Date.new(2001, 2, 3).mon # => 2
*
* Date#month is an alias for Date#mon.
*/
static VALUE
d_lite_mon(VALUE self)
Expand All @@ -5363,7 +5352,6 @@ d_lite_mon(VALUE self)
*
* Date.new(2001, 2, 3).mday # => 3
*
* Date#day is an alias for Date#mday.
*/
static VALUE
d_lite_mday(VALUE self)
Expand Down Expand Up @@ -5613,7 +5601,6 @@ d_lite_hour(VALUE self)
*
* DateTime.new(2001, 2, 3, 4, 5, 6).min # => 5
*
* Date#minute is an alias for Date#min.
*/
static VALUE
d_lite_min(VALUE self)
Expand All @@ -5630,7 +5617,6 @@ d_lite_min(VALUE self)
*
* DateTime.new(2001, 2, 3, 4, 5, 6).sec # => 6
*
* Date#second is an alias for Date#sec.
*/
static VALUE
d_lite_sec(VALUE self)
Expand All @@ -5648,7 +5634,6 @@ d_lite_sec(VALUE self)
*
* DateTime.new(2001, 2, 3, 4, 5, 6.5).sec_fraction # => (1/2)
*
* Date#second_fraction is an alias for Date#sec_fraction.
*/
static VALUE
d_lite_sec_fraction(VALUE self)
Expand Down Expand Up @@ -6424,7 +6409,6 @@ d_lite_prev_day(int argc, VALUE *argv, VALUE self)
* d.to_s # => "2001-02-03"
* d.next.to_s # => "2001-02-04"
*
* Date#succ is an alias for Date#next.
*/
static VALUE
d_lite_next(VALUE self)
Expand Down Expand Up @@ -7298,7 +7282,6 @@ strftimev(const char *fmt, VALUE self,
*
* See {asctime}[https://linux.die.net/man/3/asctime].
*
* Date#ctime is an alias for Date#asctime.
*/
static VALUE
d_lite_asctime(VALUE self)
Expand All @@ -7316,7 +7299,6 @@ d_lite_asctime(VALUE self)
*
* Date.new(2001, 2, 3).iso8601 # => "2001-02-03"
*
* Date#xmlschema is an alias for Date#iso8601.
*/
static VALUE
d_lite_iso8601(VALUE self)
Expand Down Expand Up @@ -7349,7 +7331,6 @@ d_lite_rfc3339(VALUE self)
*
* Date.new(2001, 2, 3).rfc2822 # => "Sat, 3 Feb 2001 00:00:00 +0000"
*
* Date#rfc822 is an alias for Date#rfc2822.
*/
static VALUE
d_lite_rfc2822(VALUE self)
Expand Down

0 comments on commit 3d53827

Please sign in to comment.