class ActiveSupport::TimeWithZone

def duration_of_variable_length?(obj)

def duration_of_variable_length?(obj)
  ActiveSupport::Duration === obj && obj.variable?
end