module TimeScales::Frame::Precisions::HasDayOfSchemePrecision

Constants

SECONDS_IN_26_HOURS

Gets us to the early part of the next day, regardless of DST handling, leap seconds, etc.

Public Instance Methods

succ_begin_time() click to toggle source
# 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