Class: OCI8::BindType::LocalTime
- Inherits:
-
OCITimestamp
- Object
- OCITimestamp
- OCI8::BindType::LocalTime
- Includes:
- Util
- Defined in:
- lib/oci8/datetime.rb
Instance Method Summary collapse
-
#get ⇒ Object
:nodoc:.
-
#set(val) ⇒ Object
:nodoc:.
Methods included from Util
default_timezone, default_timezone=
Instance Method Details
#get ⇒ Object
: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 |