Class: PG::BinaryDecoder::TimestampUtc
- Inherits:
-
Timestamp
- Object
- Timestamp
- PG::BinaryDecoder::TimestampUtc
- Defined in:
- lib/pg/binary_decoder.rb
Overview
Convenience classes for timezone options
Instance Method Summary collapse
-
#initialize(params = {}) ⇒ TimestampUtc
constructor
A new instance of TimestampUtc.
Constructor Details
#initialize(params = {}) ⇒ TimestampUtc
Returns a new instance of TimestampUtc.
8 9 10 |
# File 'lib/pg/binary_decoder.rb', line 8 def initialize(params={}) super(params.merge(flags: PG::Coder::TIMESTAMP_DB_UTC | PG::Coder::TIMESTAMP_APP_UTC)) end |