查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: getlocal-i.yaml
路径:
/opt/alt/ruby18/share/ri/1.8/system/Time/getlocal-i.yaml
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns a new <tt>new_time</tt> object representing <em>time</em> in local time (using the local time zone in effect for this process). - !ruby/struct:SM::Flow::VERB body: " t = Time.gm(2000,1,1,20,15,1) #=> Sat Jan 01 20:15:01 UTC 2000\n t.gmt? #=> true\n l = t.getlocal #=> Sat Jan 01 14:15:01 CST 2000\n l.gmt? #=> false\n t == l #=> true\n" full_name: Time#getlocal is_singleton: false name: getlocal params: | time.getlocal => new_time visibility: public
💾 保存文件
← 返回文件管理器