Module: OCI8::BindType
- Defined in:
- lib/oci8/compat.rb,
lib/oci8/object.rb,
lib/oci8/bindtype.rb,
lib/oci8/datetime.rb,
ext/oci8/oci8lib.c
Defined Under Namespace
Modules: Util Classes: Base, BigDecimal, CLOB, Date, DateTime, DateTimeViaOCIDate, DateTimeViaOCITimestamp, IntervalDS, IntervalYM, Long, LongRaw, NamedType, Number, Object, OraDate, RAW, Rational, String, Time, TimeViaOCIDate, TimeViaOCITimestamp
Constant Summary collapse
- Fixnum =
alias to Integer for compatibility with ruby-oci8 1.0.
Integer
- Mapping =
{}
Class Method Summary collapse
-
.default_timezone ⇒ Object
call-seq: OCI8::BindType.default_timezone -> :local or :utc.
-
.default_timezone=(tz) ⇒ Object
call-seq: OCI8::BindType.default_timezone = :local or :utc.
Class Method Details
.default_timezone ⇒ Object
call-seq:
OCI8::BindType.default_timezone -> :local or :utc
Returns the default time zone when using Oracle 8.x client. The value is unused when using Oracle 9i or upper client.
See also: OCI8::BindType::Time
14 15 16 |
# File 'lib/oci8/datetime.rb', line 14 def self.default_timezone OCI8::BindType::Util.default_timezone end |
.default_timezone=(tz) ⇒ Object
call-seq:
OCI8::BindType.default_timezone = :local or :utc
Sets the default time zone when using Oracle 8.x client. The value is unused when using Oracle 9i or upper client.
See also: OCI8::BindType::Time
25 26 27 |
# File 'lib/oci8/datetime.rb', line 25 def self.default_timezone=(tz) OCI8::BindType::Util.default_timezone = tz end |