#!/usr/bin/env ruby # frozen_string_literal: true require 'date' require 'time' require 'active_support' # require 'active_support/time' require 'forwardable' require 'cache_method' require_relative 'internal/config_loader' require_relative 'workspaces' require_relative 'clients' module Checkoff # Common vocabulary for managing time and time periods class Timing MINUTE = 60 HOUR = MINUTE * 60 DAY = 24 * HOUR REALLY_LONG_CACHE_TIME = HOUR * 1 LONG_CACHE_TIME = MINUTE * 15 SHORT_CACHE_TIME = MINUTE # @param today_getter [Class] # @param now_getter [Class