o:$YARD::CodeObjects::MethodObject: @name: year:@docstringIC:YARD::Docstring"ˆReturns the year for time (including the century). t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003 t.year #=> 2003 : @objectu:YARD::StubProxyTime#year: @summary0: @all"¬Returns the year for time (including the century). t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003 t.year #=> 2003 @overload year @return [Fixnum]:@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u; Time#year;;;IC; " ; u; Time#year; 0; "@return [Fixnum];[;[o:YARD::Tags::Tag ; 0;0: @types[" Fixnum: @text":@tag_name" return;0:@parameters[;0:@signature" year;" overload:@current_file_has_commentsF: @scope: instance;[:@docstring_extra0: @files[[" time.c0:@namespaceu; Time: @path"Time#year;[:@visibility: public: @source"´/* * call-seq: * time.year => fixnum * * Returns the year for time (including the century). * * t = Time.now #=> Wed Apr 09 08:56:04 CDT 2003 * t.year #=> 2003 */ static VALUE time_year(time) VALUE time; { struct time_object *tobj; GetTimeval(time, tobj); if (tobj->tm_got == 0) { time_get_tm(time, tobj->gmt); } return LONG2NUM((long)tobj->tm.tm_year+1900); }:@source_type:c