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.11-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.11-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.11-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.11-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.10-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.10-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.10-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.10-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.9-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.9-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.9-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.9-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.8-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.8-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.8-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.8-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.7-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.7-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.7-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.7-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb