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:
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 |