Class: OCI8::BindType::LocalDateTime

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:


305
306
307
# File 'lib/oci8/datetime.rb', line 305

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

#set(val) ⇒ Object

:nodoc:


301
302
303
# File 'lib/oci8/datetime.rb', line 301

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