Module: TimeScales::Frame::Precisions::HasDayOfSchemePrecision
- Defined in:
- lib/time_scales/frame/precisions.rb
Constant Summary collapse
- SECONDS_IN_26_HOURS =
Gets us to the early part of the next day, regardless of DST handling, leap seconds, etc.
60 * 60 * 26
Instance Method Summary collapse
Instance Method Details
#succ_begin_time ⇒ Object
58 59 60 61 |
# File 'lib/time_scales/frame/precisions.rb', line 58 def succ_begin_time t = begin_time + SECONDS_IN_26_HOURS @succ_begin_time ||= Time.new(t.year, t.month, t.day) end |