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:



406
407
408
# File 'lib/oci8/datetime.rb', line 406

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

#set(val) ⇒ Object

:nodoc:



402
403
404
# File 'lib/oci8/datetime.rb', line 402

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