class TimeScales::Parts::MonthOfYearClass

Public Instance Methods

&(time) click to toggle source
# File lib/time_scales/parts.rb, line 120
def &(time)
  time.month
end
component_mixin() click to toggle source
# File lib/time_scales/parts.rb, line 117
def component_mixin ; Frame::PartComponents::HasMonthOfYear ; end
default_for_unit?() click to toggle source
# File lib/time_scales/parts.rb, line 116
def default_for_unit? ; true ; end
scheme_scoped_precision_mixin() click to toggle source
# File lib/time_scales/parts.rb, line 118
def scheme_scoped_precision_mixin ; Frame::Precisions::HasMonthOfSchemePrecision ; end
scope() click to toggle source
# File lib/time_scales/parts.rb, line 115
def scope       ; Units::Year  ; end
subdivision() click to toggle source
# File lib/time_scales/parts.rb, line 114
def subdivision ; Units::Month ; end
symbol() click to toggle source
# File lib/time_scales/parts.rb, line 113
def symbol ; :month_of_year ; end