/* package */ RateLimitStatus(Response res) throws TwitterException { super(res); Element elem = res.asDocument().getDocumentElement(); remainingHits = getChildInt("remaining-hits", elem); hourlyLimit = getChildInt("hourly-limit", elem); resetTimeInSeconds = getChildInt("reset-time-in-seconds", elem); resetTime = getChildDate("reset-time", elem, "yyyy-M-d'T'HH:mm:ss+00:00"); }