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:



307
308
309
# File 'lib/oci8/datetime.rb', line 307

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

#set(val) ⇒ Object

:nodoc:



303
304
305
# File 'lib/oci8/datetime.rb', line 303

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