title: Timestamp (firebase) casting error to Date util
body: <p>java.lang.ClassCastException: com.google.firebase.Timestamp cannot be cast to java.util.Date
  at dragon.bakuman.iu.mymallapp.DBqueries$9.onComplete(DBqueries.java:584)</p>
  
  <p>Line 584: (Date) documentSnapshot.get("validity")));</p>
  
  <p>Note it is Firebase Timestamp to Date. I tried both ways, when substituting Timestamp to Data and Date to Timestamp, none is working.</p>
  
  <p>Here is the code: <a href="https://github.com/iudragon/MyMallApp" rel="nofollow noreferrer">https://github.com/iudragon/MyMallApp</a></p>
  
  <p>Please select "loadingRewards" BRANCH on GITHUB</p>
  
  <p>Here is the Firebase Code: <a href="https://imgur.com/gallery/TzLp93r" rel="nofollow noreferrer">https://imgur.com/gallery/TzLp93r</a></p>