TimeStamp TextView Firebase

documentSnapshot.getTimestamp("validity").toDate();
Winnie Kimani