# File lib/et-orbi/eo_time.rb, line 361 def count_weeks(dir) c = 0 t = self until t.month != self.month c += 1 t += dir * (7 * 24 * 3600) end c end