Module: Calculations (ActiveSupport::CoreExtensions::Date)

Overview
Module Structure
Class Hierarchy
Module Methods
Calculations.included / 1
Instance Aliases
Calculations#in
Calculations#midnight
Calculations#at_midnight
Calculations#at_beginning_of_day
Calculations#monday
Calculations#at_beginning_of_week
Calculations#at_end_of_week
Calculations#at_beginning_of_month
Calculations#at_end_of_month
Calculations#at_beginning_of_quarter
Calculations#at_end_of_quarter
Calculations#at_beginning_of_year
Calculations#at_end_of_year
Instance Methods
Calculations#past?
Calculations#today?
Calculations#future?
Calculations#ago / 1
Calculations#since / 1
Calculations#beginning_of_day
Calculations#end_of_day
Calculations#plus_with_duration / 1
Calculations#minus_with_duration / 1
Calculations#advance / 1
Calculations#change / 1
Calculations#months_ago / 1
Calculations#months_since / 1
Calculations#years_ago / 1
Calculations#years_since / 1
Calculations#last_year
Calculations#prev_year
Calculations#next_year
Calculations#last_month
Calculations#prev_month
Calculations#next_month
Calculations#beginning_of_week
Calculations#end_of_week
Calculations#next_week / 1
Calculations#beginning_of_month
Calculations#end_of_month
Calculations#beginning_of_quarter
Calculations#end_of_quarter
Calculations#beginning_of_year
Calculations#end_of_year
Calculations#yesterday
Calculations#tomorrow
is a submodule of
module: Date ( ActiveSupport::CoreExtensions )
is modularized into
module: ClassMethods   
is included by
class: Date   
has properties
module method: included / 1   
method: past?   
method: today?   
method: future?   
method: ago / 1   
method: since / 1   
alias: in since   
method: beginning_of_day   
alias: midnight beginning_of_day   
alias: at_midnight beginning_of_day   
alias: at_beginning_of_day beginning_of_day   
method: end_of_day   
method: plus_with_duration / 1   
method: minus_with_duration / 1   
method: advance / 1   
method: change / 1   
method: months_ago / 1   
method: months_since / 1   
method: years_ago / 1   
method: years_since / 1   
method: last_year   
method: prev_year   
method: next_year   
method: last_month   
method: prev_month   
method: next_month   
method: beginning_of_week   
alias: monday beginning_of_week   
alias: at_beginning_of_week beginning_of_week   
method: end_of_week   
alias: at_end_of_week end_of_week   
method: next_week / 1   
method: beginning_of_month   
alias: at_beginning_of_month beginning_of_month   
method: end_of_month   
alias: at_end_of_month end_of_month   
method: beginning_of_quarter   
alias: at_beginning_of_quarter beginning_of_quarter   
method: end_of_quarter   
alias: at_end_of_quarter end_of_quarter   
method: beginning_of_year   
alias: at_beginning_of_year beginning_of_year   
method: end_of_year   
alias: at_end_of_year end_of_year   
method: yesterday   
method: tomorrow   
is defined at
#5 in active_support/core_ext/date/calculations.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: ActiveSupport
  module: CoreExtensions
  module: Date
✗ module: Calculations
module: ClassMethods     
  class: Date

Class Hierarchy

Object ( Builtin-Module )
  Date     

Module Methods

Calculations.included / 1

#6 in active_support/core_ext/date/calculations.rb

included ( base )

Instance Aliases

Calculations#in

#61 in active_support/core_ext/date/calculations.rb

in since   

Calculations#midnight

#67 in active_support/core_ext/date/calculations.rb

midnight beginning_of_day   

Calculations#at_midnight

#68 in active_support/core_ext/date/calculations.rb

at_midnight beginning_of_day   

Calculations#at_beginning_of_day

#69 in active_support/core_ext/date/calculations.rb

at_beginning_of_day beginning_of_day   

Calculations#monday

#174 in active_support/core_ext/date/calculations.rb

monday beginning_of_week   

Calculations#at_beginning_of_week

#175 in active_support/core_ext/date/calculations.rb

at_beginning_of_week beginning_of_week   

Calculations#at_end_of_week

#183 in active_support/core_ext/date/calculations.rb

at_end_of_week end_of_week   

Calculations#at_beginning_of_month

#196 in active_support/core_ext/date/calculations.rb

at_beginning_of_month beginning_of_month   

Calculations#at_end_of_month

#203 in active_support/core_ext/date/calculations.rb

at_end_of_month end_of_month   

Calculations#at_beginning_of_quarter

#209 in active_support/core_ext/date/calculations.rb

at_beginning_of_quarter beginning_of_quarter   

Calculations#at_end_of_quarter

#215 in active_support/core_ext/date/calculations.rb

at_end_of_quarter end_of_quarter   

Calculations#at_beginning_of_year

#221 in active_support/core_ext/date/calculations.rb

at_beginning_of_year beginning_of_year   

Calculations#at_end_of_year

#227 in active_support/core_ext/date/calculations.rb

at_end_of_year end_of_year   

Instance Methods

Calculations#today?

#41 in active_support/core_ext/date/calculations.rb

today?

Calculations#future?

#46 in active_support/core_ext/date/calculations.rb

future?

Calculations#ago / 1

#52 in active_support/core_ext/date/calculations.rb

ago ( seconds )

Calculations#since / 1

#58 in active_support/core_ext/date/calculations.rb

since ( seconds )

Calculations#beginning_of_day

#64 in active_support/core_ext/date/calculations.rb

beginning_of_day

Calculations#end_of_day

#72 in active_support/core_ext/date/calculations.rb

end_of_day

Calculations#plus_with_duration / 1

#76 in active_support/core_ext/date/calculations.rb

plus_with_duration ( other )

Calculations#minus_with_duration / 1

#84 in active_support/core_ext/date/calculations.rb

minus_with_duration ( other )

Calculations#advance / 1

#94 in active_support/core_ext/date/calculations.rb

advance ( options )

Calculations#change / 1

#110 in active_support/core_ext/date/calculations.rb

change ( options )

Calculations#months_ago / 1

#119 in active_support/core_ext/date/calculations.rb

months_ago ( months )

Calculations#months_since / 1

#124 in active_support/core_ext/date/calculations.rb

months_since ( months )

Calculations#years_ago / 1

#129 in active_support/core_ext/date/calculations.rb

years_ago ( years )

Calculations#years_since / 1

#134 in active_support/core_ext/date/calculations.rb

years_since ( years )

Calculations#last_year

#138 in active_support/core_ext/date/calculations.rb

last_year

Calculations#prev_year

#144 in active_support/core_ext/date/calculations.rb

prev_year

Calculations#next_year

#149 in active_support/core_ext/date/calculations.rb

next_year

Calculations#last_month

#153 in active_support/core_ext/date/calculations.rb

last_month

Calculations#prev_month

#159 in active_support/core_ext/date/calculations.rb

prev_month

Calculations#next_month

#164 in active_support/core_ext/date/calculations.rb

next_month

Calculations#beginning_of_week

#169 in active_support/core_ext/date/calculations.rb

beginning_of_week

Calculations#end_of_week

#178 in active_support/core_ext/date/calculations.rb

end_of_week

Calculations#next_week / 1

#186 in active_support/core_ext/date/calculations.rb

next_week ( day = :monday )

Calculations#beginning_of_month

#193 in active_support/core_ext/date/calculations.rb

beginning_of_month

Calculations#end_of_month

#199 in active_support/core_ext/date/calculations.rb

end_of_month

Calculations#beginning_of_quarter

#206 in active_support/core_ext/date/calculations.rb

beginning_of_quarter

Calculations#end_of_quarter

#212 in active_support/core_ext/date/calculations.rb

end_of_quarter

Calculations#beginning_of_year

#218 in active_support/core_ext/date/calculations.rb

beginning_of_year

Calculations#end_of_year

#224 in active_support/core_ext/date/calculations.rb

end_of_year

Calculations#yesterday

#230 in active_support/core_ext/date/calculations.rb

yesterday

Calculations#tomorrow

#235 in active_support/core_ext/date/calculations.rb

tomorrow