class TimeScales::Parts::DayOfYearClass

Public Instance Methods

&(time) click to toggle source
# File lib/time_scales/parts.rb, line 175
def &(time)
  time.yday
end
component_mixin() click to toggle source
# File lib/time_scales/parts.rb, line 172
def component_mixin ; Frame::PartComponents::HasDayOfYear ; end
default_for_unit?() click to toggle source
# File lib/time_scales/parts.rb, line 171
def default_for_unit? ; false ; end
scheme_scoped_precision_mixin() click to toggle source
# File lib/time_scales/parts.rb, line 173
def scheme_scoped_precision_mixin ; Frame::Precisions::HasDayOfSchemePrecision ; end
scope() click to toggle source
# File lib/time_scales/parts.rb, line 170
def scope       ; Units::Year ; end
subdivision() click to toggle source
# File lib/time_scales/parts.rb, line 169
def subdivision ; Units::Day   ; end
symbol() click to toggle source
# File lib/time_scales/parts.rb, line 168
def symbol ; :day_of_year ; end