Class: TimeScales::Parts::MonthOfYearClass
Instance Method Summary
collapse
#===, #name, #scale, #subdivision_name, #to_s, #to_time_scales_part
Instance Method Details
#&(time) ⇒ Object
120
121
122
|
# File 'lib/time_scales/parts.rb', line 120
def &(time)
time.month
end
|
#component_mixin ⇒ Object
#default_for_unit? ⇒ Boolean
116
|
# File 'lib/time_scales/parts.rb', line 116
def default_for_unit? ; true ; end
|
#scheme_scoped_precision_mixin ⇒ Object
#scope ⇒ Object
115
|
# File 'lib/time_scales/parts.rb', line 115
def scope ; Units::Year ; end
|
#subdivision ⇒ Object
114
|
# File 'lib/time_scales/parts.rb', line 114
def subdivision ; Units::Month ; end
|
#symbol ⇒ Object
113
|
# File 'lib/time_scales/parts.rb', line 113
def symbol ; :month_of_year ; end
|