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.22-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.22-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.22-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.22-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.21-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.21-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.21-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.21-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.19-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.19-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.19-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.19-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.18-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.18-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.18-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.18-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.17-aarch64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.17-x86_64-darwin ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.17-x86_64-linux ./lib/cipherstash-pg/binary_decoder.rb
cipherstash-pg-1.0.0.beta.17-arm64-darwin ./lib/cipherstash-pg/binary_decoder.rb