class ActiveSupport::Duration::ISO8601Serializer

def week_mixed_with_date?(parts)

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