= private = protected
getlocal()
Returns a new new_time object representing time in local time (using the local time zone in effect for this process).
t = Time.gm(2000,1,1,20,15,1) #=> 2000-01-01 20:15:01 UTC t.gmt? #=> true l = t.getlocal #=> 2000-01-01 14:15:01 -0600 l.gmt? #=> false t == l #=> true
static VALUE time_getlocaltime(VALUE time) { return time_localtime(time_dup(time)); }