Sha256: b38df20c762a8466ef26509bbd0d357a52dd849e02e50ee641f780586e5b6cc7

Contents?: true

Size: 705 Bytes

Versions: 79

Compression:

Stored size: 705 Bytes

Contents

module CipherStashPG
  module BinaryDecoder
    class TimestampUtc < Timestamp
      def initialize(params = {})
        super(params.merge(:flags => (CipherStashPG::Coder::TIMESTAMP_DB_UTC | CipherStashPG::Coder::TIMESTAMP_APP_UTC)))
      end
    end
    
    class TimestampUtcToLocal < Timestamp
      def initialize(params = {})
        super(params.merge(:flags => (CipherStashPG::Coder::TIMESTAMP_DB_UTC | CipherStashPG::Coder::TIMESTAMP_APP_LOCAL)))
      end
    end
    
    class TimestampLocal < Timestamp
      def initialize(params = {})
        super(params.merge(:flags => (CipherStashPG::Coder::TIMESTAMP_DB_LOCAL | CipherStashPG::Coder::TIMESTAMP_APP_LOCAL)))
      end
    end
  end
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
cipherstash-pg-1.0.0.beta.16-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.16-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.16-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.16-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.15-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.15-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.15-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.15-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.14-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.14-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.14-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.14-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.13-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.13-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.13-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.13-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.12-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.12-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.12-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.12-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb