Class: OCI8::BindType::LocalTime

Inherits:
OCITimestamp
  • Object
show all
Includes:
Util
Defined in:
lib/oci8/datetime.rb

Instance Method Summary collapse

Methods included from Util

default_timezone, default_timezone=

Instance Method Details

#getObject

:nodoc:



404
405
406
# File 'lib/oci8/datetime.rb', line 404

def get() # :nodoc:
  array_to_time(super(), :local)
end

#set(val) ⇒ Object

:nodoc:



400
401
402
# File 'lib/oci8/datetime.rb', line 400

def set(val) # :nodoc:
  super(datetime_to_array(val, :timestamp))
end