Sha256: b097c0dcc93e6b1fdffab16f2ed44c1e56f3f72b4853ef33864eeeaf8db8d759
Contents?: true
Size: 719 Bytes
Versions: 3
Compression:
Stored size: 719 Bytes
Contents
module Veritas class Attribute # Represents a Time value in a relation tuple class Time < Object include Comparable DEFAULT_RANGE = (::Time.at(0)..::Time.at(2**31-1)).freeze # The Time primitive # # @example # Time.primitive # => ::Time # # @return [Class<::Time>] # # @api public def self.primitive ::Time end # The Time range for a valid value # # @example # Time.range # => ::Time.utc(*from)..::Time.utc(*to) # # @return [Range<::Time>] # # @api public def range DEFAULT_RANGE end end # class Time end # class Attribute end # module Veritas
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.3 | lib/veritas/attribute/time.rb |
veritas-0.0.2 | lib/veritas/attribute/time.rb |
veritas-0.0.1 | lib/veritas/attribute/time.rb |