title: Firestore query issue when comparing timestamp
body: <p>I have data in Firestore and I am comparing time object in it.</p>
  
  <p>When I query with other object like <code>"ref" and "title"</code> query return some data successfully, but with time its not returning anything.</p>
  
  <p><a href="https://i.stack.imgur.com/g1N3C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/g1N3C.png" alt="enter image description here"></a></p>
  
  <pre><code>String dateString = "9-26-2018";
  </code></pre>
  
  <p>I am converting this date to <code>timestamp</code> and passing in query:</p>
  
  <pre><code>Timestamp timestamp = new Timestamp(dateString);
  
  DateFormat df = DateFormat.getDateTimeInstance();
  df.setTimeZone(TimeZone.getTimeZone("UTC"));
  Date utcTime = new Date(df.format(date));
  
  System.out.println("MyDates &gt;&gt;" +utcTime + " &gt;&gt; "+ timestamp.toDate());
  
  CollectionReference ref = db.collection("news");
  Query newsQuery = ref.whereEqualTo("time", utcTime );
  
  mNewsList.clear();
  newsQuery.get().addOnCompleteListener(new OnCompleteListener&lt;QuerySnapshot&gt;() {
                  @Override
                  public void onComplete(@NonNull Task&lt;QuerySnapshot&gt; task) {
                      if (task.isSuccessful()) {
                          System.out.println("DocumentData &gt;&gt; " + task.getResult().size());
                          for (QueryDocumentSnapshot document : task.getResult()) {
                              News news = document.toObject(News.class);
                              mNewsList.add(news);
                          }
                          // refreshing recycler view
                          mAdapter.notifyDataSetChanged();
  
                          // stop animating Shimmer and hide the layout
                          mShimmerViewContainer.stopShimmerAnimation();
                          mShimmerViewContainer.setVisibility(View.GONE);
                      } else {
                          System.out.println("Error getting documents."+ task.getException());
                      }
                  }
              });
  </code></pre>
  
  <blockquote>
    <p>What I am getting is <code>task.getResult().size() = 0</code></p>
  </blockquote>
  
  <p>So my question is how to compare timestamp in Firestore?</p>
  
  <p>UPDATE >>  Date Output >></p>
  
  <pre><code>MyDates &gt;&gt;Tue Sep 25 18:30:00 GMT+05:30 2018 &gt;&gt; Wed Sep 26 00:00:00 GMT+05:30 2018
  </code></pre>