module Riveter::CoreExtensions::DateExtensions::ClassMethods

Public Instance Methods

from_utc_ticks(ticks) click to toggle source
# File lib/riveter/core_extensions.rb, line 29
def from_utc_ticks(ticks)
  (DateTime.strptime ticks.to_s, "%Q").to_date
end
system_start_date() click to toggle source
# File lib/riveter/core_extensions.rb, line 25
def system_start_date
  self.new(1970, 1, 1)
end