Sha256: a0faef86bcf5db8fd3ee4f02089c5afeb809f2e6cf8fd734302705755e84c5e1
Contents?: true
Size: 2 KB
Versions: 12
Compression:
Stored size: 2 KB
Contents
o:$YARD::CodeObjects::MethodObject: @name: getlocal:@docstringIC:YARD::Docstring"�Returns a new <code>new_time</code> object representing <i>time</i> in local time (using the local time zone in effect for this process). t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000 t.gmt? #=> true l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000 l.gmt? #=> false t == l #=> true :@objectu:YARD::StubProxyTime#getlocal: @summary0: @all"�Returns a new <code>new_time</code> object representing <i>time</i> in local time (using the local time zone in effect for this process). t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000 t.gmt? #=> true l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000 l.gmt? #=> false t == l #=> true @overload getlocal @return [Time]:@ref_tags[: @tags[o:YARD::Tags::OverloadTag ; u;Time#getlocal;;;IC; " ; u;Time#getlocal;0; "@return [Time];[;[o:YARD::Tags::Tag ; 0;0:@types[" Time: @text":@tag_name"return;0:@parameters[;0:@signature" getlocal;" overload:@current_file_has_commentsF:@scope: instance;[:@docstring_extra0:@files[["time.c0:@namespaceu; Time: @path"Time#getlocal;[:@visibility:public:@source"Z/* * call-seq: * time.getlocal => new_time * * Returns a new <code>new_time</code> object representing <i>time</i> in * local time (using the local time zone in effect for this process). * * t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000 * t.gmt? #=> true * l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000 * l.gmt? #=> false * t == l #=> true */ static VALUE time_getlocaltime(time) VALUE time; { return time_localtime(time_dup(time)); }:@source_type:c
Version data entries
12 entries across 12 versions & 2 rubygems