twitter4j
Interface Trends

All Superinterfaces:
java.lang.Comparable<Trends>, java.io.Serializable
All Known Implementing Classes:
TrendsJSONImpl

public interface Trends
extends java.lang.Comparable<Trends>, java.io.Serializable

A data class representing Trends.

Since:
Twitter4J 2.0.2
Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 java.util.Date getAsOf()
           
 Location getLocation()
          Returns the location associated with the trends.
This method is effective only with getLocalTrends() method.
i.e.
 java.util.Date getTrendAt()
           
 Trend[] getTrends()
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getTrends

Trend[] getTrends()

getLocation

Location getLocation()
Returns the location associated with the trends.
This method is effective only with getLocalTrends() method.
i.e. The return value of this method will be null with Search API Methods (getTrends(), getCurrentTrends(), getDailyTrends(), and getWeeklyTrends()).

Returns:
location
Since:
Twitter4J 2.1.1

getAsOf

java.util.Date getAsOf()

getTrendAt

java.util.Date getTrendAt()