Class: Axiom::Attribute::DateTime
- Inherits:
-
Object
- Object
- Axiom::Attribute
- Object
- Axiom::Attribute::DateTime
- Includes:
- Comparable
- Defined in:
- lib/axiom/attribute/date_time.rb
Overview
Represents a DateTime value in a relation tuple
Constant Summary collapse
- DEFAULT_RANGE =
(::DateTime.new..::DateTime::Infinity.new).freeze
Instance Attribute Summary
Attributes inherited from Axiom::Attribute
Class Method Summary collapse
-
.primitive ⇒ Class<::DateTime>
The DateTime primitive.
Instance Method Summary collapse
-
#range ⇒ Range<::DateTime>
The DateTime range for a valid value.
Methods included from Comparable
Methods included from Function::Predicate::GreaterThan::Methods
Methods included from Function::Predicate::GreaterThanOrEqualTo::Methods
Methods included from Function::Predicate::LessThan::Methods
Methods included from Function::Predicate::LessThanOrEqualTo::Methods
Methods included from Axiom::Aggregate::Minimum::Methods
Methods included from Axiom::Aliasable
Methods included from Axiom::Aggregate::Maximum::Methods
Methods included from Axiom::Aggregate::Mean::Methods
Methods included from Axiom::Aggregate::Variance::Methods
Methods included from Axiom::Aggregate::StandardDeviation::Methods
Methods included from Function::Predicate::Equality::Methods
Methods included from Function::Predicate::Exclusion::Methods
Methods included from Function::Predicate::Inequality::Methods
Methods included from Function::Predicate::Inclusion::Methods
Methods included from Axiom::Aggregate::Count::Methods
Methods inherited from Axiom::Attribute
#call, coerce, infer_type, #initialize, name_from, #rename, #required?, #type, #valid_primitive?, #valid_value?
Methods included from Visitable
Constructor Details
This class inherits a constructor from Axiom::Attribute
Class Method Details
.primitive ⇒ Class<::DateTime>
The DateTime primitive
20 21 22 |
# File 'lib/axiom/attribute/date_time.rb', line 20 def self.primitive ::DateTime end |
Instance Method Details
#range ⇒ Range<::DateTime>
The DateTime range for a valid value
32 33 34 |
# File 'lib/axiom/attribute/date_time.rb', line 32 def range DEFAULT_RANGE end |