Example usage for twitter4j SavedSearch getCreatedAt

List of usage examples for twitter4j SavedSearch getCreatedAt

Introduction

In this page you can find the example usage for twitter4j SavedSearch getCreatedAt.

Prototype

Date getCreatedAt();

Source Link

Usage

From source file:org.getlantern.firetweet.util.ContentValuesCreator.java

License:Open Source License

public static ContentValues createSavedSearch(final SavedSearch savedSearch, final long accountId) {
    final ContentValues values = new ContentValues();
    values.put(SavedSearches.ACCOUNT_ID, accountId);
    values.put(SavedSearches.SEARCH_ID, savedSearch.getId());
    values.put(SavedSearches.CREATED_AT, savedSearch.getCreatedAt().getTime());
    values.put(SavedSearches.NAME, savedSearch.getName());
    values.put(SavedSearches.QUERY, savedSearch.getQuery());
    return values;
}