diff options
author | BurdetteLamar <burdettelamar@yahoo.com> | 2023-02-19 20:16:04 +0000 |
---|---|---|
committer | Jeremy Evans <code@jeremyevans.net> | 2023-02-19 14:26:34 -0800 |
commit | 3b239d2480123046a59a75f1089ab58d192b9c57 (patch) | |
tree | a7015491da2508153db26251ad30ac39d6d8a6a8 /time.c | |
parent | 3d53827130e9f3792e80e9a947d5a0d604aa836b (diff) |
Remove (newly unneeded) remarks about aliases
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -3660,8 +3660,6 @@ tmcmp(struct tm *a, struct tm *b) * Raises an exception if the number of arguments is eight, nine, * or greater than ten. * - * Time.gm is an alias for Time.utc. - * * Related: Time.local. * */ @@ -3713,8 +3711,6 @@ time_s_mktime(int argc, VALUE *argv, VALUE klass) * Time.utc(1950, 1, 1, 0, 0, 0).to_i # => -631152000 * Time.utc(1990, 1, 1, 0, 0, 0).to_i # => 631152000 * - * Time#tv_sec is an alias for Time#to_i. - * * Related: Time#to_f Time#to_r. */ @@ -3794,8 +3790,6 @@ time_to_r(VALUE time) * t.usec # => 548469 * * Related: Time#subsec (returns exact subseconds). - * - * Time#tv_usec is an alias for Time#usec. */ static VALUE @@ -3823,8 +3817,6 @@ time_usec(VALUE time) * t.nsec # => 321963700 * * Related: Time#subsec (returns exact subseconds). - * - * Time#tv_nsec is an alias for Time#usec. */ static VALUE @@ -3943,8 +3935,6 @@ time_eql(VALUE time1, VALUE time2) * # => 2000-01-01 20:15:01 UTC * utc.utc? # => true * - * Time#gmt? is an alias for Time#utc?. - * * Related: Time.utc. */ @@ -4096,8 +4086,6 @@ time_localtime_m(int argc, VALUE *argv, VALUE time) * t.utc # => 2000-01-01 06:00:00 UTC * t.utc? # => true * - * Time#gmtime is an alias for Time#utc. - * * Related: Time#getutc (returns a new converted \Time object). */ @@ -4221,7 +4209,6 @@ time_getlocaltime(int argc, VALUE *argv, VALUE time) * utc.utc? # => true * utc == local # => true * - * Time#getgm is an alias for Time#getutc. */ static VALUE @@ -4255,8 +4242,6 @@ static VALUE strftime_cstr(const char *fmt, size_t len, VALUE time, rb_encoding * t.strftime('%a %b %e %T %Y') # => "Sun Dec 31 23:59:59 2000" * t.strftime('%c') # => "Sun Dec 31 23:59:59 2000" * - * Time#asctime is an alias for Time#ctime. - * * Related: Time#to_s, Time#inspect: * * t.inspect # => "2000-12-31 23:59:59.5 +000001" @@ -4682,8 +4667,6 @@ time_hour(VALUE time) * # => 2000-01-02 03:04:05 +000006 * t.mday # => 2 * - * Time#day is an alias for Time#mday. - * * Related: Time#year, Time#hour, Time#min. */ @@ -4708,8 +4691,6 @@ time_mday(VALUE time) * # => 2000-01-02 03:04:05 +000006 * t.mon # => 1 * - * Time#month is an alias for Time#mday. - * * Related: Time#year, Time#hour, Time#min. */ @@ -4934,7 +4915,6 @@ time_yday(VALUE time) * t.zone # => "Central Daylight Time" * t.dst? # => true * - * Time#isdst is an alias for Time#dst?. */ static VALUE @@ -4990,7 +4970,6 @@ time_zone(VALUE time) * Time.utc(2000, 1, 1).utc_offset # => 0 * Time.local(2000, 1, 1).utc_offset # => -21600 # -6*3600, or minus six hours. * - * Time#gmt_offset and Time#gmtoff are aliases for Time#utc_offset. */ VALUE |