Class: Refine::Conditions::DateWithTimeCondition
- Inherits:
-
DateCondition
- Object
- Condition
- DateCondition
- Refine::Conditions::DateWithTimeCondition
- Defined in:
- app/models/refine/conditions/date_with_time_condition.rb
Constant Summary
Constants inherited from DateCondition
Refine::Conditions::DateCondition::ATTRIBUTE_TYPE_DATE, Refine::Conditions::DateCondition::ATTRIBUTE_TYPE_DATE_WITH_TIME, Refine::Conditions::DateCondition::ATTRIBUTE_TYPE_UNIX_TIMESTAMP, Refine::Conditions::DateCondition::CLAUSE_BETWEEN, Refine::Conditions::DateCondition::CLAUSE_DOESNT_EQUAL, Refine::Conditions::DateCondition::CLAUSE_EQUALS, Refine::Conditions::DateCondition::CLAUSE_EXACTLY, Refine::Conditions::DateCondition::CLAUSE_GREATER_THAN, Refine::Conditions::DateCondition::CLAUSE_GREATER_THAN_OR_EQUAL, Refine::Conditions::DateCondition::CLAUSE_LESS_THAN, Refine::Conditions::DateCondition::CLAUSE_LESS_THAN_OR_EQUAL, Refine::Conditions::DateCondition::CLAUSE_NOT_BETWEEN, Refine::Conditions::DateCondition::CLAUSE_NOT_SET, Refine::Conditions::DateCondition::CLAUSE_SET, Refine::Conditions::DateCondition::I18N_PREFIX
Constants inherited from Condition
Constants included from SupportsFlatQueries
SupportsFlatQueries::LEFT_JOIN_CLAUSES
Instance Attribute Summary
Attributes inherited from DateCondition
#date1, #date2, #days, #show_human_readable_timezone
Attributes inherited from Condition
#attribute, #before_validations, #clause, #display, #ensurances, #filter, #id, #is_flat_query, #is_refinement
Instance Method Summary collapse
Methods inherited from DateCondition
#apply_clause_between, #apply_clause_doesnt_equal, #apply_clause_equals, #apply_clause_greater_than, #apply_clause_greater_than_or_equal, #apply_clause_less_than, #apply_clause_less_than_or_equal, #apply_clause_not_between, #apply_clause_not_set, #apply_clause_set, #apply_condition, #apply_standardized_values, #apply_standardized_values_with_time, #attribute_is, #attribute_is_date, #attribute_is_date_with_time, #attribute_is_unix_timestamp, #clauses, #comparison_date, #comparison_time, #component, #database_timezone, #date1_must_be_less_than_date2, #date1_must_be_real, #date2_must_be_real, #end_of_day, #ensure_timezone, #get_standard_tz_offset, #get_timezone, #human_readable, #human_readable_value, #is_relative_clause?, #modify_date_and_clause!, #relative_clauses, #set_input_parameters, #standardize_clause, #start_of_day, #timezone_abbr, #timezone_exists, #user_timezone, #with_database_timezone, #with_human_readable_timezone, #with_user_timezone
Methods included from HasClauses
#before_clause_validation, #boot_has_clauses, #clause_display_map, #custom_clauses, #ensure_clause, #ensure_clauses, #get_clause_by_id, #get_clauses, included, #only_clauses, #remap_clause_displays, #update_show_clauses, #with_clauses, #without_clauses
Methods inherited from Condition
#add_ensurance, #add_messages, #add_rules, #apply, #apply_condition, #approved_clauses, #before_validate, #boot_traits, #call_proc_if_callable, #clause_display, #clause_exists?, #clause_in_approved_list?, #component, #ensure_attribute_configured, #ensure_id, #evaluated_meta, #human_readable, #initialize, #messages, #recursively_evaluate_lazy_enumerable, #run_before_validate_validations, #run_ensurance_validations, #set_filter, #set_input_parameters, #to_array, #update_value, #validate_user_input, #with_display
Methods included from SupportsFlatQueries
#add_pending_join, #add_pending_joins_if_needed, #apply_flat, #apply_flat_relational_condition, #condition_uses_different_database?, #get_foreign_key_from_relation, #get_through_reflection, #handle_flat_cross_database_condition, #handle_flat_relational_condition
Methods included from HasIcon
#category_icon_class, #category_icon_template, #has_icon?, #icon_class, #icon_container_class, #icon_template, #with_category_icon_class, #with_category_icon_template, #with_icon, #with_icon_class, #with_icon_container_class, #with_icon_template
Methods included from WithForcedIndex
#forced_index, #with_forced_index
Methods included from HasThroughIdRelationship
#through_id_relationship, #with_through_id_relationship
Methods included from HasRefinements
#apply_count_refinement, #apply_date_refinement, #apply_refinements, #define_count_condition, #define_date_condition, #get_count_refinement_condition, #get_date_refinement_condition, #has_any_refinements?, #has_count_refinement?, #has_date_refinement?, #refine_by_count, #refine_by_date, #refine_by_filter, #refinements_allowed?, #refinements_to_array
Methods included from UsesAttributes
#apply_relationship_attribute, #can_use_where_in_relationship_subquery?, #create_pending_has_many_through_subquery, #create_pending_wherein_subquery, #get_reflection_object, #group, #is_relationship_attribute?, #key_1, #key_2, #raw_attribute, #should_inverse_clause?, #with_attribute
Methods included from HasMeta
Constructor Details
This class inherits a constructor from Refine::Conditions::Condition
Instance Method Details
#boot ⇒ Object
3 4 5 6 |
# File 'app/models/refine/conditions/date_with_time_condition.rb', line 3 def boot @attribute_type = ATTRIBUTE_TYPE_DATE_WITH_TIME super end |