Class: Duranged::Interval

Inherits:
Base
  • Object
show all
Defined in:
lib/duranged/interval.rb

Constant Summary

Constants included from Formatters

Formatters::FORMATTERS, Formatters::PERIODS

Instance Attribute Summary

Attributes inherited from Base

#value

Method Summary

Methods inherited from Base

#+, #-, #<=>, dump, #initialize, load, #round_to, #round_to!, #round_to_hours, #round_to_hours!, #round_to_minutes, #round_to_minutes!

Methods included from Formatters

#as_json, #strfdur, #to_h, #to_i, #to_s

Methods included from Periods

#days, #days_after_months, #days_after_weeks, #hours, #minutes, #months, #seconds, #weeks, #years

Constructor Details

This class inherits a constructor from Duranged::Base