module TimeScales::Parts

Constants

DayOfMonth
DayOfQuarter
DayOfYear
HourOfDay
MinuteOfHour
MonthOfQuarter
MonthOfYear
QuarterOfYear
YearOfScheme

Public Class Methods

all() click to toggle source
# File lib/time_scales/parts.rb, line 5
def self.all
  @all_parts ||= [
    YearOfScheme,
    QuarterOfYear,
    MonthOfYear,
    MonthOfQuarter,
    DayOfMonth,
    DayOfYear,
    DayOfQuarter,
    HourOfDay,
    MinuteOfHour,
  ].freeze
end