Sha256: a0c242387c70265bc2e52a7741e426c511cde5a1578efd571c3e1775dc5ed651
Contents?: true
Size: 738 Bytes
Versions: 2
Compression:
Stored size: 738 Bytes
Contents
# encoding: utf-8 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.5 | lib/veritas/attribute/time.rb |
veritas-0.0.4 | lib/veritas/attribute/time.rb |