Class: Daru::Offsets::Hour
- Inherits:
-
Tick
- Object
- DateOffset
- DateOffsetType
- Tick
- Daru::Offsets::Hour
- Defined in:
- lib/daru/date_time/offsets.rb
Overview
Create an hours offset
Constant Summary collapse
- FREQ =
'H'.freeze
Instance Method Summary collapse
Methods inherited from Tick
Methods inherited from DateOffsetType
Methods inherited from DateOffset
#+, #-, #-@, #initialize
Constructor Details
This class inherits a constructor from Daru::Offsets::DateOffsetType
Instance Method Details
#multiplier ⇒ Object
164 165 166 |
# File 'lib/daru/date_time/offsets.rb', line 164 def multiplier 1.to_r / 24 end |