module SuperDiff
  module Differs
    class TimeLike < Base
      def self.applies_to?(expected, actual)
        SuperDiff.time_like?(expected) && SuperDiff.time_like?(actual)
      end

      private

      def operation_tree_builder_class
        OperationTreeBuilders::TimeLike
      end
    end
  end
end
