class TimeScales::Parts::HourOfDayClass
Public Instance Methods
&(time)
click to toggle source
# File lib/time_scales/parts.rb, line 215 def &(time) time.hour end
component_mixin()
click to toggle source
# File lib/time_scales/parts.rb, line 212 def component_mixin ; Frame::PartComponents::HasHourOfDay ; end
default_for_unit?()
click to toggle source
# File lib/time_scales/parts.rb, line 211 def default_for_unit? ; false ; end
scheme_scoped_precision_mixin()
click to toggle source
# File lib/time_scales/parts.rb, line 213 def scheme_scoped_precision_mixin ; Frame::Precisions::HasHourOfSchemePrecision ; end
scope()
click to toggle source
# File lib/time_scales/parts.rb, line 210 def scope ; Units::Day ; end
subdivision()
click to toggle source
# File lib/time_scales/parts.rb, line 209 def subdivision ; Units::Hour ; end
symbol()
click to toggle source
# File lib/time_scales/parts.rb, line 208 def symbol ; :hour_of_day ; end