class ActiveSupport::Duration::ISO8601Serializer

def week_mixed_with_date?(parts)

def week_mixed_with_date?(parts)
  parts.key?(:weeks) && (parts.keys & DATE_COMPONENTS).any?
end