Class: TimeScales::Parts::HourOfDayClass
Instance Method Summary
collapse
#===, #name, #scale, #subdivision_name, #to_s, #to_time_scales_part
Instance Method Details
#&(time) ⇒ Object
215
216
217
|
# File 'lib/time_scales/parts.rb', line 215
def &(time)
time.hour
end
|
#component_mixin ⇒ Object
#default_for_unit? ⇒ Boolean
211
|
# File 'lib/time_scales/parts.rb', line 211
def default_for_unit? ; false ; end
|
#scheme_scoped_precision_mixin ⇒ Object
#scope ⇒ Object
210
|
# File 'lib/time_scales/parts.rb', line 210
def scope ; Units::Day ; end
|
#subdivision ⇒ Object
209
|
# File 'lib/time_scales/parts.rb', line 209
def subdivision ; Units::Hour ; end
|
#symbol ⇒ Object
208
|
# File 'lib/time_scales/parts.rb', line 208
def symbol ; :hour_of_day ; end
|